glibc/signal
Joseph Myers 007f2dd122 Fix psignal, psiginfo declaration conditions (bug 18483).
signal.h declares psignal and psiginfo if __USE_XOPEN2K - that is, for
the 2001 edition of POSIX.  These functions were actually added in the
2008 edition (as indicated in the header comments).  This patch fixes
the header conditionals.  This fixes some linknamespace test failures
because psiginfo uses fmemopen, which is also new in the 2008 edition,
so before the header fix this appeared to the linknamespace tests as a
2001 function bringing in references to a 2008 function.  The problem
also appeared in conformtest header namespace test results (the
conformtest data has correct conditionals for when these functions
should be visible), but the affected headers still have other
namespace problems so this doesn't fix any of those XFAILs.

Tested for x86_64 and x86 (testsuite, and that installed stripped
shared libraries are unchanged by the patch).

	[BZ #18483]
	* signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
	[__USE_XOPEN2K8].  Remove redundant #endif.
	[__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
	Remove redundant #if.
	* conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
	Remove variable.
	(test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
	(test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
2015-06-05 21:14:16 +00:00
..
sys initial import 1995-02-18 01:27:10 +00:00
allocrtsig.c Clean up allocrtsig code. 2015-01-08 15:31:15 -08:00
kill.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
killpg.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
Makefile Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
raise.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
sigaction.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
sigaddset.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
sigaltstack.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
sigandset.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
sigblock.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
sigdelset.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
sigempty.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
sigfillset.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
siggetmask.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
sighold.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
sigignore.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
sigintr.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
sigisempty.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
sigismem.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
signal.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
signal.h Fix psignal, psiginfo declaration conditions (bug 18483). 2015-06-05 21:14:16 +00:00
sigorset.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
sigpause.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
sigpending.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
sigprocmask.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
sigqueue.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
sigrelse.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
sigreturn.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
sigset.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
sigsetmask.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
sigsetops.c Update. 1998-10-08 16:12:50 +00:00
sigsetops.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
sigstack.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
sigsuspend.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
sigtimedwait.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
sigvec.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
sigwait.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
sigwaitinfo.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
sysv_signal.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
tst-raise.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
tst-signal.c * malloc/memusagestat.c (main): Use return instead of exit to 2000-12-31 10:52:32 +00:00
tst-sigset2.c [BZ #1951] 2006-04-23 19:05:33 +00:00
tst-sigset.c 2003-03-31 Roland McGrath <roland@redhat.com> 2003-04-01 06:49:23 +00:00
tst-sigsimple.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
Versions Remove sigvec. 2014-11-14 11:06:08 -08:00