about summary refs log tree commit diff
path: root/ChangeLog
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2017-05-04 17:38:05 +0000
committerJoseph Myers <joseph@codesourcery.com>2017-05-04 17:38:05 +0000
commit4c3992fc459322a7c712700ba3244fcb125163d7 (patch)
treec85e4e90f56807b4766167edb13d6e12909c50db /ChangeLog
parentfd9f30f6f9b266405d88eb11b1f8793451629125 (diff)
downloadglibc-4c3992fc459322a7c712700ba3244fcb125163d7.tar.gz
glibc-4c3992fc459322a7c712700ba3244fcb125163d7.tar.xz
glibc-4c3992fc459322a7c712700ba3244fcb125163d7.zip
Fix signal.h bsd_signal namespace (bug 21445).
signal.h declares bsd_signal for __USE_XOPEN.  But this function was
obsoleted in the 2001 edition of POSIX and removed in the 2008
edition, so it should not be declared when the 2008 edition is in use.
This patch fixes the conditionals accordingly.  (This does not fix any
conform/ test failures because of other namespace issues in signal.h.)

Tested for x86_64.

	[BZ #21445]
	* signal/signal.h [__USE_XOPEN2K8] (bsd_signal): Do not declare.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog3
1 files changed, 3 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index f5d749b6f8..7d023fc867 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2017-05-04  Joseph Myers  <joseph@codesourcery.com>
 
+	[BZ #21445]
+	* signal/signal.h [__USE_XOPEN2K8] (bsd_signal): Do not declare.
+
 	[BZ #21457]
 	* sysdeps/unix/sysv/linux/mips/sys/ucontext.h
 	[_MIPS_SIM != _ABIO32] (mcontext_t): Rename field reserved to