about summary refs log tree commit diff
path: root/ChangeLog
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2014-03-07 20:54:03 +0000
committerJoseph Myers <joseph@codesourcery.com>2014-03-07 20:54:03 +0000
commitbc61d27c616f517521826581f0401f5b81772a65 (patch)
tree2938f06614c3121a13e9868c9876b27359c0c019 /ChangeLog
parent302949e2940a9da3f6364a1574619e621b7e1e71 (diff)
downloadglibc-bc61d27c616f517521826581f0401f5b81772a65.tar.gz
glibc-bc61d27c616f517521826581f0401f5b81772a65.tar.xz
glibc-bc61d27c616f517521826581f0401f5b81772a65.zip
Include all of <time.h> from <sched.h> for older standards (bug 16670).
This patch fixes one of the header namespace issues shown up by
conformtest, <sched.h> failing to expose all symbols from <time.h> as
required by older standards.  The patch keeps the existing behavior if
__USE_XOPEN2K is defined (the default; POSIX.1-2001 was the version
that made it optional to expose these symbols), but ensures that all
the symbols from <time.h> are exposed if an older standard is
selected.  Tested x86_64.

	[BZ #16670]
	* posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
	before #include of <time.h>.
	[!__USE_XOPEN2K] (__need_timespec): Likewise.
	* conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
	(test-xfail-UNIX98/sched.h/conform): Likewise.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog9
1 files changed, 9 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 88b70f1a7c..c0ebdc6de9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2014-03-07  Joseph Myers  <joseph@codesourcery.com>
+
+	[BZ #16670]
+	* posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
+	before #include of <time.h>.
+	[!__USE_XOPEN2K] (__need_timespec): Likewise.
+	* conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
+	(test-xfail-UNIX98/sched.h/conform): Likewise.
+
 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
 
 	* sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and