Alexandre Julliard : ntdll: Unset the WINESERVERSOCKET variable after we have retrieved it.

Alexandre Julliard julliard at wine.codeweavers.com
Tue Nov 28 05:59:38 CST 2006


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

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Mon Nov 27 20:05:56 2006 +0100

ntdll: Unset the WINESERVERSOCKET variable after we have retrieved it.

---

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

diff --git a/dlls/ntdll/server.c b/dlls/ntdll/server.c
index 68ed969..b0c52ad 100644
--- a/dlls/ntdll/server.c
+++ b/dlls/ntdll/server.c
@@ -934,6 +934,7 @@ void server_init_process(void)
         fd_socket = atoi( env_socket );
         if (fcntl( fd_socket, F_SETFD, 1 ) == -1)
             fatal_perror( "Bad server socket %d", fd_socket );
+        unsetenv( "WINESERVERSOCKET" );
     }
     else
     {




More information about the wine-cvs mailing list