diff options
author | Joseph Myers <joseph@codesourcery.com> | 2017-06-12 17:38:20 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2017-06-12 17:38:20 +0000 |
commit | a0f8b1152040d2652cdeb741ac586c95221dc5f0 (patch) | |
tree | 3c36a5b2b18c41d57048431a9f5e5b72aa8d79a5 /sunrpc/pmap_rmt.c | |
parent | 5a103908c025049106663c831471473205782985 (diff) | |
download | glibc-a0f8b1152040d2652cdeb741ac586c95221dc5f0.tar glibc-a0f8b1152040d2652cdeb741ac586c95221dc5f0.tar.gz glibc-a0f8b1152040d2652cdeb741ac586c95221dc5f0.tar.bz2 glibc-a0f8b1152040d2652cdeb741ac586c95221dc5f0.zip |
Fix sigwait namespace (bug 21550).
sigwait was added to POSIX in 1995; it is not in older POSIX versions
or XPG4 / XPG4.2. Thus it should be declared only if
__USE_POSIX199506; signal.h wrongly declares it for __USE_POSIX.
(sigwaitinfo is correctly conditioned on __USE_POSIX199309.) This
patch fixes the condition on the declaration of sigwait.
Tested for x86_64. Because of other namespace problems this does not
allow any conform/ XFAILs to be removed.
[BZ #21550]
* signal/signal.h (sigwait): Only declare if [__USE_POSIX199506].
Diffstat (limited to 'sunrpc/pmap_rmt.c')
0 files changed, 0 insertions, 0 deletions