ntdll: Don't modify LockCount in RtlLeaveCriticalSection if section is not acquired.

Jacek Caban jacek at codeweavers.com
Mon Mar 6 05:51:22 CST 2017


v2: Using importlib for Rtl* functions and fixes spotted by Sebastian.

Signed-off-by: Jacek Caban <jacek at codeweavers.com>
---
 dlls/ntdll/critsection.c |  6 ++++-
 dlls/ntdll/tests/rtl.c   | 60
++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 65 insertions(+), 1 deletion(-)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-ntdll-Don-t-modify-LockCount-in-RtlLeaveCriticalSecti.diff
Type: text/x-patch
Size: 4095 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20170306/4cf61075/attachment.bin>


More information about the wine-patches mailing list