]> sourceware.org Git - glibc.git/commitdiff
Do not use SA_NOCLDWAIT in tst-pselect.
authorRoland McGrath <roland@hack.frob.com>
Fri, 6 Feb 2015 20:29:39 +0000 (12:29 -0800)
committerRoland McGrath <roland@hack.frob.com>
Fri, 6 Feb 2015 20:29:39 +0000 (12:29 -0800)
ChangeLog
misc/tst-pselect.c

index 08f77fe3ed2dcd6e95f6d4ec318e50b22b74d2b1..32b8a645429114a07b805d0cd9289247632a8f7b 100644 (file)
--- 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 ...
index 095d794cb2735e18c233d8c6c550f06580516689..0d11a809a072c306e6a59009bc55c3dbf4d23c95 100644 (file)
@@ -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");
This page took 0.121734 seconds and 5 git commands to generate.