Jacek Caban : ntdll: Use NtContinue in NtRaiseException.

Alexandre Julliard julliard at winehq.org
Mon Feb 22 15:43:22 CST 2021


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

Author: Jacek Caban <jacek at codeweavers.com>
Date:   Mon Feb 22 18:01:52 2021 +0100

ntdll: Use NtContinue in NtRaiseException.

Signed-off-by: Jacek Caban <jacek at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/ntdll/unix/thread.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/ntdll/unix/thread.c b/dlls/ntdll/unix/thread.c
index 9808fc610e3..00d29ae706b 100644
--- a/dlls/ntdll/unix/thread.c
+++ b/dlls/ntdll/unix/thread.c
@@ -428,7 +428,7 @@ NTSTATUS WINAPI NtRaiseException( EXCEPTION_RECORD *rec, CONTEXT *context, BOOL
     NTSTATUS status = send_debug_event( rec, context, first_chance );
 
     if (status == DBG_CONTINUE || status == DBG_EXCEPTION_HANDLED)
-        NtSetContextThread( GetCurrentThread(), context );
+        return NtContinue( context, FALSE );
 
     if (first_chance) call_user_exception_dispatcher( rec, context, pKiUserExceptionDispatcher );
 




More information about the wine-cvs mailing list