Mailinglist Archive: yast-commit (883 mails)

< Previous Next >
[yast-commit] r57916 - in /branches/SuSE-Code-11-Branch/network: VERSION package/yast2-network.changes src/services/host.ycp
  • From: kmachalkova@xxxxxxxxxxxxxxxx
  • Date: Tue, 07 Jul 2009 14:05:09 -0000
  • Message-id: <E1MOBID-0002e1-Ff@xxxxxxxxxxxxxxxx>
Author: kmachalkova
Date: Tue Jul 7 16:05:09 2009
New Revision: 57916

URL: http://svn.opensuse.org/viewcvs/yast?rev=57916&view=rev
Log:
Code11 fix for bnc#513033


Modified:
branches/SuSE-Code-11-Branch/network/VERSION
branches/SuSE-Code-11-Branch/network/package/yast2-network.changes
branches/SuSE-Code-11-Branch/network/src/services/host.ycp

Modified: branches/SuSE-Code-11-Branch/network/VERSION
URL:
http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-Branch/network/VERSION?rev=57916&r1=57915&r2=57916&view=diff
==============================================================================
--- branches/SuSE-Code-11-Branch/network/VERSION (original)
+++ branches/SuSE-Code-11-Branch/network/VERSION Tue Jul 7 16:05:09 2009
@@ -1 +1 @@
-2.17.77
+2.17.78

Modified: branches/SuSE-Code-11-Branch/network/package/yast2-network.changes
URL:
http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-Branch/network/package/yast2-network.changes?rev=57916&r1=57915&r2=57916&view=diff
==============================================================================
--- branches/SuSE-Code-11-Branch/network/package/yast2-network.changes
(original)
+++ branches/SuSE-Code-11-Branch/network/package/yast2-network.changes Tue Jul
7 16:05:09 2009
@@ -1,4 +1,11 @@
-------------------------------------------------------------------
+Tue Jul 7 16:01:52 CEST 2009 - kmachalkova@xxxxxxx
+
+- Editing /etc/hosts via host module adjusted to cope with hosts
+ with empty alias (do not replace those with 'nil') (bnc#513033)
+- 2.17.78
+
+-------------------------------------------------------------------
Tue Mar 31 10:46:35 CEST 2009 - mzugec@xxxxxxx

- tun/tap device - don't remove default gw (bnc#483233)

Modified: branches/SuSE-Code-11-Branch/network/src/services/host.ycp
URL:
http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-Branch/network/src/services/host.ycp?rev=57916&r1=57915&r2=57916&view=diff
==============================================================================
--- branches/SuSE-Code-11-Branch/network/src/services/host.ycp (original)
+++ branches/SuSE-Code-11-Branch/network/src/services/host.ycp Tue Jul 7
16:05:09 2009
@@ -83,8 +83,8 @@
}
foreach (string s, names, {

- string name = regexpsub(s, "^([^ \t]+)[ \t].*$", "\\1");
- string aliases = regexpsub(s, "^[^ \t]+[ \t]+(.*)[ \t]*$", "\\1");
+ string name = regexpsub(s, "^([^ \t]+)[ \t]*.*$", "\\1");
+ string aliases = regexpsub(s, "^[^ \t]+[ \t]*(.*)[ \t]*$", "\\1");

term item = `item(`id(size(table_items)), host,
Punycode::DecodeDomainName(name),
Punycode::DecodePunycodes( [aliases] )[0]:"");

--
To unsubscribe, e-mail: yast-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: yast-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages