aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoland McGrath <roland@hack.frob.com>2015-02-06 12:29:39 -0800
committerRoland McGrath <roland@hack.frob.com>2015-02-06 12:29:39 -0800
commit827278060826e62e5f30d9f39f745e075669dc26 (patch)
tree2ec046e6d9370b308b74f68df5acb725f765ad22
parentda3a1594af4e97757f74eb5fce6700c3ce40a8b7 (diff)
downloadglibc-827278060826e62e5f30d9f39f745e075669dc26.tar
glibc-827278060826e62e5f30d9f39f745e075669dc26.tar.gz
glibc-827278060826e62e5f30d9f39f745e075669dc26.tar.bz2
glibc-827278060826e62e5f30d9f39f745e075669dc26.zip
Do not use SA_NOCLDWAIT in tst-pselect.
-rw-r--r--ChangeLog3
-rw-r--r--misc/tst-pselect.c2
2 files changed, 3 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 08f77fe3ed..32b8a64542 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
2015-02-06 Roland McGrath <roland@hack.frob.com>
+ * 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 095d794cb2..0d11a809a0 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");