reinstall reapchild signal handler for non-bsd signals

This commit is contained in:
Todd C. Miller
1994-05-24 16:13:26 +00:00
parent 813b5043dd
commit f1dd6045c9

View File

@@ -436,12 +436,13 @@ static void send_mail()
* *
* reapchild() * reapchild()
* *
* This function gets rid fo all the ugly zombies * This function gets rid of all the ugly zombies
*/ */
static RETSIGTYPE reapchild() static RETSIGTYPE reapchild()
{ {
(void) wait(NULL); (void) wait(NULL);
(void) signal(SIGCHLD, reapchild);
} }