secur32: Add DebugInfo to critical sections.
Jan Zerebecki
jan.wine at zerebecki.de
Sat Mar 10 15:10:45 CST 2007
---
If this patch is rejected from inclusion, please tell me why, as
I would have to ask anyway.
dlls/secur32/secur32.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/dlls/secur32/secur32.c b/dlls/secur32/secur32.c
index 0841ae7..ee0b080 100644
--- a/dlls/secur32/secur32.c
+++ b/dlls/secur32/secur32.c
@@ -543,6 +543,7 @@ static void SECUR32_initializeProviders(void)
TRACE("\n");
InitializeCriticalSection(&cs);
+ cs.DebugInfo->Spare[0] = (DWORD_PTR)(__FILE__ ": cs");
/* First load built-in providers */
SECUR32_initSchannelSP();
/* Do not load Negotiate yet. This breaks for some user on the wine-users
@@ -684,6 +685,7 @@ static void SECUR32_freeProviders(void)
}
LeaveCriticalSection(&cs);
+ cs.DebugInfo->Spare[0] = 0;
DeleteCriticalSection(&cs);
}
More information about the wine-patches
mailing list