Avoid deprecated sigblock in misc/tst-pselect.c.
commit6b5189eb2000761cd68c3c54c0d03357a9aaec67
authorJoseph Myers <joseph@codesourcery.com>
Thu, 27 Nov 2014 16:02:26 +0000 (27 16:02 +0000)
committerJoseph Myers <joseph@codesourcery.com>
Thu, 27 Nov 2014 16:02:26 +0000 (27 16:02 +0000)
tree4480e1a76e4a596cd1b2a50127b2cdda5e3b94a1
parent49051f8ea4551229fa656eba04031af51a5491c5
Avoid deprecated sigblock in misc/tst-pselect.c.

misc/tst-pselect.c uses the deprecated sigblock interface, resulting
in "tst-pselect.c:42:3: warning: 'sigblock' is deprecated (declared at
../signal/signal.h:189) [-Wdeprecated-declarations]".  The choice of
sigblock rather than sigprocmask has nothing to do with what this test
is testing, so this patch changes it to use sigprocmask to avoid the
warning.

Tested for x86_64.

* misc/tst-pselect.c (do_test): Use sigprocmask instead of
sigblock.
ChangeLog
misc/tst-pselect.c