[Glibc-bsd-commits] r2670 - in trunk/freebsd-utils/debian: . patches

Aurelien Jarno aurel32 at alioth.debian.org
Fri Jul 24 17:05:55 UTC 2009


Author: aurel32
Date: 2009-07-24 17:05:54 +0000 (Fri, 24 Jul 2009)
New Revision: 2670

Modified:
   trunk/freebsd-utils/debian/changelog
   trunk/freebsd-utils/debian/patches/002_ifconfig.diff
Log:
  * patches/002_ifconfig.diff: force POSIX compliance to make sure the
    arguments passed to ifconfig are not reordered (closes: bug#424232).



Modified: trunk/freebsd-utils/debian/changelog
===================================================================
--- trunk/freebsd-utils/debian/changelog	2009-07-24 16:38:41 UTC (rev 2669)
+++ trunk/freebsd-utils/debian/changelog	2009-07-24 17:05:54 UTC (rev 2670)
@@ -1,3 +1,10 @@
+freebsd-utils (7.2-4) UNRELEASED; urgency=low
+
+  * patches/002_ifconfig.diff: force POSIX compliance to make sure the
+    arguments passed to ifconfig are not reordered (closes: bug#424232).
+
+ -- Aurelien Jarno <aurel32 at debian.org>  Fri, 24 Jul 2009 19:04:03 +0200
+
 freebsd-utils (7.2-3) unstable; urgency=low
 
   * Add freebsd-utils-udeb and kldutils-udeb packages.

Modified: trunk/freebsd-utils/debian/patches/002_ifconfig.diff
===================================================================
--- trunk/freebsd-utils/debian/patches/002_ifconfig.diff	2009-07-24 16:38:41 UTC (rev 2669)
+++ trunk/freebsd-utils/debian/patches/002_ifconfig.diff	2009-07-24 17:05:54 UTC (rev 2670)
@@ -380,3 +380,14 @@
  #include "ifconfig.h"
  
  #ifndef lint
+--- a/sbin/ifconfig/ifconfig.c
+--- b/sbin/ifconfig/ifconfig.c
+@@ -154,7 +154,7 @@
+ 	all = downonly = uponly = namesonly = noload = verbose = 0;
+ 
+ 	/* Parse leading line options */
+-	strlcpy(options, "adklmnuv", sizeof(options));
++	strlcpy(options, "+adklmnuv", sizeof(options));
+ 	for (p = opts; p != NULL; p = p->next)
+ 		strlcat(options, p->opt, sizeof(options));
+ 	while ((c = getopt(argc, argv, options)) != -1) {




More information about the Glibc-bsd-commits mailing list