This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
[akim@epita.fr: Bug#79666: libc6-dev: Buggy cdefs.h]
- To: GNU C Library <libc-alpha at sourceware dot cygnus dot com>
- Subject: [akim@epita.fr: Bug#79666: libc6-dev: Buggy cdefs.h]
- From: Ben Collins <bcollins at debian dot org>
- Date: Fri, 15 Dec 2000 09:06:17 -0500
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]. */