Commit 35302a64 authored by Ken Thomases's avatar Ken Thomases Committed by Alexandre Julliard

ntdll: Don't change SIGCHLD disposition; no automatic reaping of child processes.

parent b035b0ba
...@@ -1076,11 +1076,6 @@ size_t server_init_thread( void *entry_point ) ...@@ -1076,11 +1076,6 @@ size_t server_init_thread( void *entry_point )
/* ignore SIGPIPE so that we get an EPIPE error instead */ /* ignore SIGPIPE so that we get an EPIPE error instead */
sigaction( SIGPIPE, &sig_act, NULL ); sigaction( SIGPIPE, &sig_act, NULL );
/* automatic child reaping to avoid zombies */
#ifdef SA_NOCLDWAIT
sig_act.sa_flags |= SA_NOCLDWAIT;
#endif
sigaction( SIGCHLD, &sig_act, NULL );
/* create the server->client communication pipes */ /* create the server->client communication pipes */
if (server_pipe( reply_pipe ) == -1) server_protocol_perror( "pipe" ); if (server_pipe( reply_pipe ) == -1) server_protocol_perror( "pipe" );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment