about summary refs log tree commit diff
path: root/ChangeLog
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2017-06-19 16:39:17 +0000
committerJoseph Myers <joseph@codesourcery.com>2017-06-19 16:39:17 +0000
commitbf15120dd7860ac976f22e20fa386d8bf73c70e7 (patch)
tree4ddf39cf62f1948a76973ec163cbc14438c35c2b /ChangeLog
parent4add86749a31f302674599b69d2eea691d69341a (diff)
downloadglibc-bf15120dd7860ac976f22e20fa386d8bf73c70e7.tar.gz
glibc-bf15120dd7860ac976f22e20fa386d8bf73c70e7.tar.xz
glibc-bf15120dd7860ac976f22e20fa386d8bf73c70e7.zip
Fix wait3 namespace (bug 21625).
The wait3 function was removed in the 2001 edition of POSIX.
sys/wait.h wrongly declares it for the 2001 and 2008 editions of POSIX
when XSI features are enabled.  This patch fixes the conditionals.

Tested for x86_64.

	[BZ #21625]
	* posix/sys/wait.h (strust rusage forward declaration): Change
	[__USE_XOPEN_EXTENDED] conditional to [__USE_XOPEN_EXTENDED &&
	!__USE_XOPEN2K].
	(wait3): Likewise.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog6
1 files changed, 6 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index b3d39a23fd..0c637c2da9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
 2017-06-19  Joseph Myers  <joseph@codesourcery.com>
 
+	[BZ #21625]
+	* posix/sys/wait.h (strust rusage forward declaration): Change
+	[__USE_XOPEN_EXTENDED] conditional to [__USE_XOPEN_EXTENDED &&
+	!__USE_XOPEN2K].
+	(wait3): Likewise.
+
 	* configure.ac (libc_cv_compiler_ok): Require GCC 4.9 or later.
 	* configure: Regenerated.
 	* manual/install.texi (Tools for Compilation): Document