[Glibc-bsd-commits] r2500 - trunk/ufsutils/debian/patches

Aurelien Jarno aurel32 at alioth.debian.org
Wed May 6 07:48:28 UTC 2009


Author: aurel32
Date: 2009-05-06 07:48:28 +0000 (Wed, 06 May 2009)
New Revision: 2500

Modified:
   trunk/ufsutils/debian/patches/02_fsck.ufs.patch
Log:
glibc has been fixed, remove workaround


Modified: trunk/ufsutils/debian/patches/02_fsck.ufs.patch
===================================================================
--- trunk/ufsutils/debian/patches/02_fsck.ufs.patch	2009-05-06 07:12:09 UTC (rev 2499)
+++ trunk/ufsutils/debian/patches/02_fsck.ufs.patch	2009-05-06 07:48:28 UTC (rev 2500)
@@ -12,27 +12,7 @@
  #include <sys/param.h>
  #include <sys/disklabel.h>
  #include <sys/mount.h>
-@@ -73,6 +76,19 @@
- 
- #include "fsck.h"
- 
-+
-+/*
-+   the glibc variant is broken,
-+   it have one extra "("
-+   workaround it here
-+ */
-+#undef LIST_FOREACH_SAFE
-+#define	LIST_FOREACH_SAFE(var, head, field, tvar)			\
-+	for ((var) = ((head)->lh_first);				\
-+	    (var) && ((tvar) = ((var)->field.le_next), 1);		\
-+	    (var) = (tvar))
-+
-+
- struct cgchain {
- 	union {
- 		struct cg cgcu_cg;
-@@ -774,3 +790,4 @@
+@@ -774,3 +777,4 @@
  	/* Write back updated statistics and super-block. */
  	putdisk();
  }




More information about the Glibc-bsd-commits mailing list