[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

r5216 - in glibc-package/trunk/debian: . patches/kfreebsd



Author: aurel32
Date: 2012-04-26 16:18:07 +0000 (Thu, 26 Apr 2012)
New Revision: 5216

Modified:
   glibc-package/trunk/debian/changelog
   glibc-package/trunk/debian/patches/kfreebsd/local-sys_queue_h.diff
Log:
  * patches/kfreebsd/local-sys_queue_h.diff: fix STAILQ_FOREACH_SAFE.  
    Closes: #669960.



Modified: glibc-package/trunk/debian/changelog
===================================================================
--- glibc-package/trunk/debian/changelog	2012-04-26 16:07:39 UTC (rev 5215)
+++ glibc-package/trunk/debian/changelog	2012-04-26 16:18:07 UTC (rev 5216)
@@ -60,6 +60,8 @@
   * patches/any/cvs-FORTIFY_SOURCE-format-strings.diff: new patch from
     upstream to fix FORTIFY_SOURCE format string protection bypass.  Closes:
     #660611.
+  * patches/kfreebsd/local-sys_queue_h.diff: fix STAILQ_FOREACH_SAFE.  
+    Closes: #669960.
 
  -- Aurelien Jarno <aurel32@debian.org>  Thu, 26 Apr 2012 16:37:27 +0200
 

Modified: glibc-package/trunk/debian/patches/kfreebsd/local-sys_queue_h.diff
===================================================================
--- glibc-package/trunk/debian/patches/kfreebsd/local-sys_queue_h.diff	2012-04-26 16:07:39 UTC (rev 5215)
+++ glibc-package/trunk/debian/patches/kfreebsd/local-sys_queue_h.diff	2012-04-26 16:18:07 UTC (rev 5216)
@@ -59,7 +59,7 @@
  		(var) = ((var)->field.stqe_next))
  
 +#define	STAILQ_FOREACH_SAFE(var, head, field, tvar)			\
-+	for ((var) = ((elm)->field.stqe_next);				\
++	for ((var) = ((head)->stqh_first);				\
 +	    (var) && ((tvar) = ((var)->field.stqe_next), 1);		\
 +	    (var) = (tvar))
 +


Reply to: