reinstall reapchild signal handler for non-bsd signals
This commit is contained in:
@@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user