Module: wine Branch: master Commit: 455b707ea2fbbfdc84a4bb6e140d694dc30981cf URL: https://source.winehq.org/git/wine.git/?a=commit;h=455b707ea2fbbfdc84a4bb6e1...
Author: Zebediah Figura zfigura@codeweavers.com Date: Thu Sep 23 00:47:59 2021 -0500
ntdll: Return STATUS_PENDING when restarting asyncs.
Fixes: 1eb56b20baefcdccaafbb622cadc71670c149e18 Signed-off-by: Zebediah Figura zfigura@codeweavers.com Signed-off-by: Alexandre Julliard julliard@winehq.org
---
dlls/ntdll/unix/server.c | 1 + 1 file changed, 1 insertion(+)
diff --git a/dlls/ntdll/unix/server.c b/dlls/ntdll/unix/server.c index 050824a1440..53d34e1858a 100644 --- a/dlls/ntdll/unix/server.c +++ b/dlls/ntdll/unix/server.c @@ -390,6 +390,7 @@ static void invoke_system_apc( const apc_call_t *call, apc_result_t *result, BOO /* the server will pass us NULL if a call failed synchronously */ set_async_iosb( call->async_io.sb, result->async_io.status, info ); } + else result->async_io.status = STATUS_PENDING; /* restart it */ break; } case APC_VIRTUAL_ALLOC: