This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

[akim@epita.fr: Bug#79666: libc6-dev: Buggy cdefs.h]


Here's a thinko patch for cdefs.h's flexarr macro.

2000-12-15  Ben Collins  <bcollins@debian.org>

	* misc/sys/cdefs.h: Fix thinko in checks for flexarr macros.
	  Patch by Akim Demaille <akim@epita.fr> in Debian bug report.

-- 
 -----------=======-=-======-=========-----------=====------------=-=------
/  Ben Collins  --  ...on that fantastic voyage...  --  Debian GNU/Linux   \
`  bcollins@debian.org  --  bcollins@openldap.org  --  bcollins@linux.com  '
 `---=========------=======-------------=-=-----=-===-======-------=--=---'
--- misc/sys/cdefs.h~	2000/11/27 17:51:56	1.41
+++ misc/sys/cdefs.h	2000/12/15 14:02:41
@@ -101,7 +101,7 @@
 # ifdef __GNUC__
 #  define __flexarr	[0]
 # else
-#  ifdef __STDC_VERSION__ && __STDC_VERSION__ >= 199901L
+#  if defined __STDC_VERSION__ && __STDC_VERSION__ >= 199901L
 #   define __flexarr	[]
 #  else
 /* Some other non-C99 compiler.  Approximate with [1].  */

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]