This is the mail archive of the glibc-cvs@sourceware.org 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]
Other format: [Raw text]

GNU C Library master sources branch master updated. glibc-2.21-379-gf585737


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".

The branch, master has been updated
       via  f58573781c3541d6a666036a6a815ea052242065 (commit)
      from  38d3d5b7bdf251d5c549f5baef3ad5d2d144688a (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=f58573781c3541d6a666036a6a815ea052242065

commit f58573781c3541d6a666036a6a815ea052242065
Author: Joseph Myers <joseph@codesourcery.com>
Date:   Wed May 20 23:14:53 2015 +0000

    conformtest: use proper _POSIX_C_SOURCE value for POSIX.
    
    The conform/ tests were using -D_POSIX_C_SOURCE=199912 to test "POSIX"
    (1995/6).  This patch changes them to use 199506L, the proper value
    from the relevant edition of POSIX.  (This doesn't make any difference
    to features.h, but is the logically correct value to use.)  Tested for
    x86_64.
    
    	* conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
    	-D_POSIX_C_SOURCE=199506L.

diff --git a/ChangeLog b/ChangeLog
index d6a6012..f9cda04 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
 
+	* conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
+	-D_POSIX_C_SOURCE=199506L.
+
 	* conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
 
 	* conform/data/unistd.h-data (_POSIX_VERSION): Require.
diff --git a/conform/GlibcConform.pm b/conform/GlibcConform.pm
index 2533f57..8aeada4 100644
--- a/conform/GlibcConform.pm
+++ b/conform/GlibcConform.pm
@@ -28,7 +28,7 @@ require Exporter;
 $CFLAGS{"ISO"} = "-ansi";
 $CFLAGS{"ISO99"} = "-std=c99";
 $CFLAGS{"ISO11"} = "-std=c1x -D_ISOC11_SOURCE";
-$CFLAGS{"POSIX"} = "-D_POSIX_C_SOURCE=199912 -ansi";
+$CFLAGS{"POSIX"} = "-D_POSIX_C_SOURCE=199506L -ansi";
 $CFLAGS{"XPG3"} = "-ansi -D_XOPEN_SOURCE";
 $CFLAGS{"XPG4"} = "-ansi -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED";
 $CFLAGS{"UNIX98"} = "-ansi -D_XOPEN_SOURCE=500";

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog               |    3 +++
 conform/GlibcConform.pm |    2 +-
 2 files changed, 4 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
GNU C Library master sources


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