Zebediah Figura : ntdll: Return STATUS_DEVICE_NOT_READY instead of STATUS_PENDING from try_transmit().
Alexandre Julliard
julliard at winehq.org
Thu Sep 23 15:35:03 CDT 2021
Module: wine
Branch: master
Commit: 4f4fee53a61c231d21a9ba0669f200b9f60a5de4
URL: https://source.winehq.org/git/wine.git/?a=commit;h=4f4fee53a61c231d21a9ba0669f200b9f60a5de4
Author: Zebediah Figura <zfigura at codeweavers.com>
Date: Thu Sep 23 00:48:00 2021 -0500
ntdll: Return STATUS_DEVICE_NOT_READY instead of STATUS_PENDING from try_transmit().
async_transmit_proc() expects the former.
Fixes: 1eb56b20baefcdccaafbb622cadc71670c149e18
Signed-off-by: Zebediah Figura <zfigura at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/ntdll/unix/socket.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/ntdll/unix/socket.c b/dlls/ntdll/unix/socket.c
index 73d61c0d4e6..ec6aa02d14a 100644
--- a/dlls/ntdll/unix/socket.c
+++ b/dlls/ntdll/unix/socket.c
@@ -1017,7 +1017,7 @@ static NTSTATUS try_transmit( int sock_fd, int file_fd, struct async_transmit_io
if (ret < read_size || (async->file_len && async->file_cursor == async->file_len))
async->file = NULL;
- return STATUS_PENDING; /* still more data to send */
+ return STATUS_DEVICE_NOT_READY; /* still more data to send */
}
while (async->tail_cursor < async->buffers.TailLength)
More information about the wine-cvs
mailing list