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.11-112-g8500fa8


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  8500fa8325bb9dde4ebb3aa59a52fd2ffdc07f54 (commit)
      from  e00a72ef5e8c9801d14dc2ece38a8fd03e3d11d8 (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://sources.redhat.com/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=8500fa8325bb9dde4ebb3aa59a52fd2ffdc07f54

commit 8500fa8325bb9dde4ebb3aa59a52fd2ffdc07f54
Author: Jakub Jelinek <jakub@redhat.com>
Date:   Tue Jan 12 05:41:52 2010 -0800

    Fix compile error with sys/wait.h.

diff --git a/ChangeLog b/ChangeLog
index 16638da..c9cd999 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2010-01-12  Jakub Jelinek  <jakub@redhat.com>
+
+	* posix/sys/wait.h: Don't define W* macros etc. if
+	stdlib.h has been included with _POSIX_C_SOURCE >= 200809L.
+
 2010-01-11  Ulrich Drepper  <drepper@redhat.com>
 
 	* io/sys/stat.h: Declare fchmod for XPG7.
diff --git a/posix/sys/wait.h b/posix/sys/wait.h
index bb98c00..6d7f068 100644
--- a/posix/sys/wait.h
+++ b/posix/sys/wait.h
@@ -32,7 +32,7 @@ __BEGIN_DECLS
 #include <sys/resource.h>
 
 /* These macros could also be defined in <stdlib.h>.  */
-#if !defined _STDLIB_H || !defined __USE_XOPEN
+#if !defined _STDLIB_H || (!defined __USE_XOPEN && !defined __USE_XOPEN2K8)
 /* This will define the `W*' macros for the flag
    bits to `waitpid', `wait3', and `wait4'.  */
 # include <bits/waitflags.h>

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

Summary of changes:
 ChangeLog        |    5 +++++
 posix/sys/wait.h |    2 +-
 2 files changed, 6 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]