NTDLL: mask SIGCHLD to prevent partial writes in the new_process server call

Mike McCormack mike at codeweavers.com
Thu Oct 14 12:49:13 CDT 2004


ChangeLog:
* mask SIGCHLD to prevent partial writes in the new_process server call
-------------- next part --------------
Index: dlls/ntdll/server.c
===================================================================
RCS file: /home/wine/wine/dlls/ntdll/server.c,v
retrieving revision 1.17
diff -u -r1.17 server.c
--- dlls/ntdll/server.c	18 Aug 2004 00:04:58 -0000	1.17
+++ dlls/ntdll/server.c	14 Oct 2004 16:06:24 -0000
@@ -826,6 +826,7 @@
     sigaddset( &block_set, SIGHUP );
     sigaddset( &block_set, SIGUSR1 );
     sigaddset( &block_set, SIGUSR2 );
+    sigaddset( &block_set, SIGCHLD );
 
     /* receive the first thread request fd on the main socket */
     NtCurrentTeb()->request_fd = receive_fd( &dummy_handle );


More information about the wine-patches mailing list