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

Alexandre Julliard julliard at winehq.org
Thu Dec 1 14:05:31 CST 2011


Module: wine
Branch: master
Commit: 35302a643a36e99505616b56b68c9cd694feb3d1
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=35302a643a36e99505616b56b68c9cd694feb3d1

Author: Ken Thomases <ken at codeweavers.com>
Date:   Wed Nov 30 16:48:22 2011 -0600

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

---

 dlls/ntdll/server.c |    5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)

diff --git a/dlls/ntdll/server.c b/dlls/ntdll/server.c
index 3243f9f..8a01d22 100644
--- a/dlls/ntdll/server.c
+++ b/dlls/ntdll/server.c
@@ -1076,11 +1076,6 @@ size_t server_init_thread( void *entry_point )
 
     /* ignore SIGPIPE so that we get an EPIPE error instead  */
     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 */
     if (server_pipe( reply_pipe ) == -1) server_protocol_perror( "pipe" );




More information about the wine-cvs mailing list