mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-02 09:40:13 +00:00
c4c96f92f7
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. |
||
---|---|---|
.. | ||
types | ||
epoll.h | ||
errno.h | ||
eventfd.h | ||
fcntl.h | ||
inotify.h | ||
ioctl-types.h | ||
ipc.h | ||
local_lim.h | ||
mman.h | ||
msq.h | ||
poll.h | ||
resource.h | ||
sem.h | ||
shm.h | ||
sigaction.h | ||
sigcontext.h | ||
siginfo-arch.h | ||
signalfd.h | ||
signum.h | ||
socket_type.h | ||
stat.h | ||
statfs.h | ||
termios.h | ||
timerfd.h |