[Glibc-bsd-commits] r1387 - trunk/glibc-2.3-head/patches/fixes
Robert Millan
rmh at costa.debian.org
Tue Mar 21 09:14:04 UTC 2006
Author: rmh
Date: 2006-03-21 09:14:04 +0000 (Tue, 21 Mar 2006)
New Revision: 1387
Added:
trunk/glibc-2.3-head/patches/fixes/concat_macro.patch
Log:
Add Petr's patch for __CONCAT.
Added: trunk/glibc-2.3-head/patches/fixes/concat_macro.patch
===================================================================
--- trunk/glibc-2.3-head/patches/fixes/concat_macro.patch 2006-03-21 09:04:10 UTC (rev 1386)
+++ trunk/glibc-2.3-head/patches/fixes/concat_macro.patch 2006-03-21 09:14:04 UTC (rev 1387)
@@ -0,0 +1,21 @@
+
+Author: petr
+Status: in http://sourceware.org/bugzilla/show_bug.cgi?id=2471
+
+Index: misc/sys/cdefs.h
+===================================================================
+RCS file: /cvs/glibc/libc/misc/sys/cdefs.h,v
+retrieving revision 1.65
+diff -u -r1.65 cdefs.h
+--- misc/sys/cdefs.h 14 Jan 2006 20:14:36 -0000 1.65
++++ misc/sys/cdefs.h 20 Mar 2006 21:52:22 -0000
+@@ -77,7 +77,8 @@
+ /* For these things, GCC behaves the ANSI way normally,
+ and the non-ANSI way under -traditional. */
+
+-#define __CONCAT(x,y) x ## y
++#define __CONCAT1(x,y) x ## y
++#define __CONCAT(x,y) __CONCAT1(x,y)
+ #define __STRING(x) #x
+
+ /* This is not a typedef so `const __ptr_t' does the right thing. */
More information about the Glibc-bsd-commits
mailing list