]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
2004-08-11 Roland McGrath <roland@redhat.com>
authorRoland McGrath <roland@gnu.org>
Wed, 11 Aug 2004 19:29:35 +0000 (19:29 +0000)
committerRoland McGrath <roland@gnu.org>
Wed, 11 Aug 2004 19:29:35 +0000 (19:29 +0000)
* posix/tst-waitid.c (do_test): Ignore SIGCHLD before cleanup SIGKILL.

posix/tst-waitid.c

index 3befe1a72e79123d333a83546954bea81d1943a8..3e81d7a0ac0cc30602efb6568df08754d58f1349 100644 (file)
@@ -450,6 +450,7 @@ do_test (int argc, char *argv[])
  out:
   if (spurious_sigchld)
     status = EXIT_FAILURE;
+  signal (SIGCHLD, SIG_IGN);
   kill (pid, SIGKILL);         /* Make sure it's dead if we bailed early.  */
   return status;
 }