From: Jakub Jelinek Date: Fri, 12 Jan 2007 17:16:43 +0000 (+0000) Subject: [BZ #3632] X-Git-Tag: cvs/fedora-glibc-2_5-20070712T1701~90 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b6c657f557a6416b408d8fb178aaf856aa367661;p=thirdparty%2Fglibc.git [BZ #3632] * include/features.h: Fix comment about default value for _POSIX_C_SOURCE. --- diff --git a/ChangeLog b/ChangeLog index 08358ebd05a..51ad7245eb4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2006-12-09 Ulrich Drepper + + [BZ #3632] + * include/features.h: Fix comment about default value for + _POSIX_C_SOURCE. + 2006-12-09 Jakub Jelinek * misc/getusershell.c (initshells): Check for integer overflows. diff --git a/include/features.h b/include/features.h index 1676ad3e585..ad9bbc70eec 100644 --- a/include/features.h +++ b/include/features.h @@ -49,7 +49,7 @@ The `-ansi' switch to the GNU C compiler defines __STRICT_ANSI__. If none of these are defined, the default is to have _SVID_SOURCE, _BSD_SOURCE, and _POSIX_SOURCE set to one and _POSIX_C_SOURCE set to - 199506L. If more than one of these are defined, they accumulate. + 200112L. If more than one of these are defined, they accumulate. For example __STRICT_ANSI__, _POSIX_SOURCE and _POSIX_C_SOURCE together give you ISO C, 1003.1, and 1003.2, but nothing else.