glibc/sysdeps/unix/bsd
Joseph Myers c4c96f92f7 Define SIG_HOLD for XPG4 (bug 21538).
Various bits/signum.h headers define SIG_HOLD if __USE_UNIX98.  That
should be __USE_XOPEN, as this macro is in XPG4.  This patch fixes the
conditionals accordingly.  Because of other header bugs, this does not
allow any XFAILs to be removed (however, the XPG4/signal.h/conform
XFAIL only depends on a few such straightforward header bugs, not on
the more complicated to fix ucontext_t issues, as ucontext_t isn't
included in signal.h in XPG4).

Tested for x86_64.

	[BZ #21538]
	* bits/signum.h (SIG_HOLD): Define if [__USE_XOPEN], not
	[__USE_UNIX98].
	* sysdeps/unix/bsd/bits/signum.h (SIG_HOLD): Likewise.
	* sysdeps/unix/sysv/linux/alpha/bits/signum.h (SIG_HOLD):
	Likewise.
	* sysdeps/unix/sysv/linux/bits/signum.h (SIG_HOLD): Likewise.
	* sysdeps/unix/sysv/linux/hppa/bits/signum.h (SIG_HOLD): Likewise.
	* sysdeps/unix/sysv/linux/mips/bits/signum.h (SIG_HOLD): Likewise.
	* sysdeps/unix/sysv/linux/sparc/bits/signum.h (SIG_HOLD):
	Likewise.
2017-06-05 10:19:03 +00:00
..
bits Define SIG_HOLD for XPG4 (bug 21538). 2017-06-05 10:19:03 +00:00
bsdtty.h initial import 1995-02-18 01:27:10 +00:00
cmsg_nxthdr.c Flatten sysdeps/unix/bsd/bsd4.4 into sysdeps/unix/bsd. 2013-12-22 14:49:48 +00:00
ftime.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
getpt.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
gtty.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
Implies Merge sysdeps/unix/common into sysdeps/unix. 2012-05-04 23:15:56 +00:00
Makefile Flatten sysdeps/unix/bsd/bsd4.4 into sysdeps/unix/bsd. 2013-12-22 14:49:48 +00:00
sigblock.c Flatten sysdeps/unix/bsd/bsd4.4 into sysdeps/unix/bsd. 2013-12-22 14:49:48 +00:00
sigsetmask.c Flatten sysdeps/unix/bsd/bsd4.4 into sysdeps/unix/bsd. 2013-12-22 14:49:48 +00:00
stty.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
syscalls.list Remove sigvec. 2014-11-14 11:06:08 -08:00
tcdrain.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
tcflow.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
tcflush.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
tcgetattr.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
tcgetpgrp.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
tcsendbrk.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
tcsetattr.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
tcsetpgrp.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
ualarm.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
unlockpt.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
Versions Flatten sysdeps/unix/bsd/bsd4.4 into sysdeps/unix/bsd. 2013-12-22 14:49:48 +00:00
wait3.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
wait.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
waitpid.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00