[PATCH] glibc-2.10.1 queue.h fix

Ilya A. Volynets-Evenbakh ilya@total-knowledge.com
Sat Oct 30 19:20:00 GMT 2010


The patch below fixes the problem in glibc-2.10.1 patchset

diff -r c27380b72046
patches/glibc/ports-2.10.1/150-queue-header-updates.patch
--- a/patches/glibc/ports-2.10.1/150-queue-header-updates.patch Sat Oct
23 23:29:46 2010 +0200
+++ b/patches/glibc/ports-2.10.1/150-queue-header-updates.patch Sat Oct
30 21:17:05 2010 +0200
@@ -65,7 +65,7 @@
                (var);                                                  \
                (var) = ((var)->field.tqe_next))
 
-+define TAILQ_FOREACH_SAFE(var, head, field, tvar)                     \
++#define TAILQ_FOREACH_SAFE(var, head, field, tvar)                    \
 +      for ((var) = TAILQ_FIRST((head));                               \
 +              (var) && ((tvar) = TAILQ_NEXT((var), field), 1);        \
 +              (var) = (tvar))

-- 
Ilya A. Volynets-Evenbakh
http://www.total-knowledge.com


--
For unsubscribe information see http://sourceware.org/lists.html#faq



More information about the crossgcc mailing list