From: Roland McGrath Date: Fri, 6 Feb 2015 20:29:39 +0000 (-0800) Subject: Do not use SA_NOCLDWAIT in tst-pselect. X-Git-Tag: glibc-2.22~651 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=827278060826e62e5f30d9f39f745e075669dc26;p=thirdparty%2Fglibc.git Do not use SA_NOCLDWAIT in tst-pselect. --- diff --git a/ChangeLog b/ChangeLog index 08f77fe3ed2..32b8a645429 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2015-02-06 Roland McGrath + * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for + SIGCHLD; it's redundant with SIG_IGN as sa_handler. + * posix/tst-getlogin.c: Move to ... * login/tst-getlogin.c: ... here. * posix/Makefile (tests): Move tst-getlogin to ... diff --git a/misc/tst-pselect.c b/misc/tst-pselect.c index 095d794cb27..0d11a809a07 100644 --- a/misc/tst-pselect.c +++ b/misc/tst-pselect.c @@ -31,8 +31,6 @@ do_test (void) } sa.sa_handler = SIG_IGN; - sa.sa_flags = SA_NOCLDWAIT; - if (sigaction (SIGCHLD, &sa, NULL) != 0) { puts ("2nd sigaction failed");