Rémi Bernon : ntdll: Don't change RtlWaitOnAddress size after user invoke_apc.
Alexandre Julliard
julliard at winehq.org
Wed Jan 29 16:24:08 CST 2020
Module: wine
Branch: master
Commit: d03420da127569f331347d8ea0b1fb8d691df740
URL: https://source.winehq.org/git/wine.git/?a=commit;h=d03420da127569f331347d8ea0b1fb8d691df740
Author: Rémi Bernon <rbernon at codeweavers.com>
Date: Wed Jan 29 10:27:27 2020 +0100
ntdll: Don't change RtlWaitOnAddress size after user invoke_apc.
This makes the next iteration to immediately return STATUS_SUCCESS
because of compare_addr returning FALSE with size == 0.
Signed-off-by: Rémi Bernon <rbernon at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/ntdll/sync.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/dlls/ntdll/sync.c b/dlls/ntdll/sync.c
index 0dc6fc3390..c4885973b6 100644
--- a/dlls/ntdll/sync.c
+++ b/dlls/ntdll/sync.c
@@ -2504,7 +2504,6 @@ NTSTATUS WINAPI RtlWaitOnAddress( const void *addr, const void *cmp, SIZE_T size
* but we don't want to wait */
abs_timeout = 0;
user_apc = TRUE;
- size = 0;
}
}
More information about the wine-cvs
mailing list