Alexandre Julliard : secur32: Use _exit instead of exit in child process to avoid flushing things twice.

Alexandre Julliard julliard at wine.codeweavers.com
Tue Sep 12 09:35:08 CDT 2006


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

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Tue Sep 12 14:50:33 2006 +0200

secur32: Use _exit instead of exit in child process to avoid flushing things twice.

---

 dlls/secur32/dispatcher.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/secur32/dispatcher.c b/dlls/secur32/dispatcher.c
index f9f37e4..27c1f9a 100644
--- a/dlls/secur32/dispatcher.c
+++ b/dlls/secur32/dispatcher.c
@@ -104,7 +104,7 @@ SECURITY_STATUS fork_helper(PNegoHelper 
 
         /* Whoops, we shouldn't get here. Big badaboom.*/
         write(STDOUT_FILENO, "BH\n", 3);
-        exit(1);
+        _exit(1);
     }
     else
     {




More information about the wine-cvs mailing list