commit | 103295c769903abb519b9826cb4b60df7930efb6 | [log] [tgz] |
---|---|---|
author | François Gouget <fgouget@codeweavers.com> | Thu Jun 13 21:57:38 2002 +0000 |
committer | Alexandre Julliard <julliard@winehq.org> | Thu Jun 13 21:57:38 2002 +0000 |
tree | fe4e2b4e536e4445f36e75e8fafe5a84d032c28c | |
parent | b4d3cb599ea90753fa4993f21169bedbd44a4380 [diff] [blame] |
Reset signals to SIG_DFL before starting a child process.
diff --git a/scheduler/client.c b/scheduler/client.c index de1da8c..f8ac512 100644 --- a/scheduler/client.c +++ b/scheduler/client.c
@@ -677,6 +677,8 @@ /* ignore SIGPIPE so that we get a EPIPE error instead */ signal( SIGPIPE, SIG_IGN ); + /* automatic child reaping to avoid zombies */ + signal( SIGCHLD, SIG_IGN ); /* create the server->client communication pipes */ if (pipe( reply_pipe ) == -1) server_protocol_perror( "pipe" );