[yast-commit] r59809 - in /branches/SuSE-Code-11-SP1-Branch/yast2: library/types/src/Hostname.ycp package/yast2.changes
Author: kmachalkova Date: Thu Nov 26 18:22:27 2009 New Revision: 59809 URL: http://svn.opensuse.org/viewcvs/yast?rev=59809&view=rev Log: strip trailing \n correctly Modified: branches/SuSE-Code-11-SP1-Branch/yast2/library/types/src/Hostname.ycp branches/SuSE-Code-11-SP1-Branch/yast2/package/yast2.changes Modified: branches/SuSE-Code-11-SP1-Branch/yast2/library/types/src/Hostname.ycp URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-SP1-Branch/yast2/library/types/src/Hostname.ycp?rev=59809&r1=59808&r2=59809&view=diff ============================================================================== --- branches/SuSE-Code-11-SP1-Branch/yast2/library/types/src/Hostname.ycp (original) +++ branches/SuSE-Code-11-SP1-Branch/yast2/library/types/src/Hostname.ycp Thu Nov 26 18:22:27 2009 @@ -155,9 +155,11 @@ } else { - fqhostname = String::FirstChunk( hostname_data["stdout"]:"", "\n"); + fqhostname = hostname_data["stdout"]:""; } + fqhostname = String::FirstChunk( fqhostname, "\n"); + y2debug("Current FQDN: %1", fqhostname); return fqhostname; } Modified: branches/SuSE-Code-11-SP1-Branch/yast2/package/yast2.changes URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-SP1-Branch/yast2/package/yast2.changes?rev=59809&r1=59808&r2=59809&view=diff ============================================================================== --- branches/SuSE-Code-11-SP1-Branch/yast2/package/yast2.changes (original) +++ branches/SuSE-Code-11-SP1-Branch/yast2/package/yast2.changes Thu Nov 26 18:22:27 2009 @@ -1,4 +1,10 @@ ------------------------------------------------------------------- +Thu Nov 26 18:10:42 CET 2009 - kmachalkova@suse.cz + +- Fixed striping trailing \n from Hostname::CurrentHostname() + (bnc#553213) + +------------------------------------------------------------------- Thu Nov 26 13:40:24 CET 2009 - locilka@suse.cz - Fixed access rights for /etc/install.inf (bnc #500124) -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org
participants (1)
-
kmachalkova@svn.opensuse.org