You've already forked wine-staging
mirror of
https://gitlab.winehq.org/wine/wine-staging.git
synced 2025-09-12 18:50:20 -07:00
Rebase against 5a66eab725423951860676aef49feeb3668eb20c.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
From 2cb70cc63fe4352ba6b6d813b1b386a210754d02 Mon Sep 17 00:00:00 2001
|
||||
From b3b91529f2e57720b52553dd0477c6077ab1a04b Mon Sep 17 00:00:00 2001
|
||||
From: Zebediah Figura <z.figura12@gmail.com>
|
||||
Date: Fri, 8 Jun 2018 23:30:17 -0500
|
||||
Subject: [PATCH] rpcrt4: Avoid closing the server thread handle while it is
|
||||
@@ -10,7 +10,7 @@ This, or something like this, should go upstream. This is invalid behaviour.
|
||||
1 file changed, 4 insertions(+), 4 deletions(-)
|
||||
|
||||
diff --git a/dlls/rpcrt4/rpc_server.c b/dlls/rpcrt4/rpc_server.c
|
||||
index 12260b7298b..a7cad5e273f 100644
|
||||
index cb62c59e368..2fd1e1bc4b4 100644
|
||||
--- a/dlls/rpcrt4/rpc_server.c
|
||||
+++ b/dlls/rpcrt4/rpc_server.c
|
||||
@@ -699,10 +699,6 @@ static DWORD CALLBACK RPCRT4_server_thread(LPVOID the_arg)
|
||||
@@ -36,7 +36,7 @@ index 12260b7298b..a7cad5e273f 100644
|
||||
LeaveCriticalSection(&server_cs);
|
||||
if (!wait_thread)
|
||||
@@ -1579,6 +1578,7 @@ RPC_STATUS WINAPI RpcMgmtWaitServerListen( void )
|
||||
TRACE("waiting for thread %u\n", GetThreadId(wait_thread));
|
||||
TRACE("waiting for thread %lu\n", GetThreadId(wait_thread));
|
||||
LeaveCriticalSection(&listen_cs);
|
||||
WaitForSingleObject(wait_thread, INFINITE);
|
||||
+ CloseHandle(wait_thread);
|
||||
@@ -44,5 +44,5 @@ index 12260b7298b..a7cad5e273f 100644
|
||||
}
|
||||
if (listen_done_event == event)
|
||||
--
|
||||
2.28.0
|
||||
2.34.1
|
||||
|
||||
|
Reference in New Issue
Block a user