Andrew Eikum aeikum@codeweavers.com writes:
@@ -1090,7 +1090,9 @@ NTSTATUS WINAPI NtReadFileScatter( HANDLE file, HANDLE event, PIO_APC_ROUTINE ap if (needs_close) close( unix_handle ); if (status == STATUS_SUCCESS) {
io_status->u.Status = status;
/* report status asynchronously */
status = STATUS_PENDING;
This will cause the fd completion a few lines below to be reported with STATUS_PENDING, which doesn't seem right.