mirror of git://sourceware.org/git/glibc.git
2004-08-11 Roland McGrath <roland@redhat.com>
* posix/tst-waitid.c (do_test): Ignore SIGCHLD before cleanup SIGKILL.
This commit is contained in:
parent
640b76b7dc
commit
475444485b
|
|
@ -450,6 +450,7 @@ do_test (int argc, char *argv[])
|
||||||
out:
|
out:
|
||||||
if (spurious_sigchld)
|
if (spurious_sigchld)
|
||||||
status = EXIT_FAILURE;
|
status = EXIT_FAILURE;
|
||||||
|
signal (SIGCHLD, SIG_IGN);
|
||||||
kill (pid, SIGKILL); /* Make sure it's dead if we bailed early. */
|
kill (pid, SIGKILL); /* Make sure it's dead if we bailed early. */
|
||||||
return status;
|
return status;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue