Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Do not use SA_NOCLDWAIT in tst-pselect.
  • Loading branch information
Roland McGrath committed Feb 6, 2015
1 parent da3a159 commit 8272780
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 3 additions & 0 deletions 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 ...
Expand Down
2 changes: 0 additions & 2 deletions misc/tst-pselect.c
Expand Up @@ -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");
Expand Down

0 comments on commit 8272780

Please sign in to comment.