mirror of
https://github.com/reactos/wine.git
synced 2025-02-28 16:56:24 +00:00
ntdll: Always set the I/O status information on ioctl completion (Valgrind).
This commit is contained in:
parent
2854884a42
commit
71f4b3bb84
@ -1187,8 +1187,8 @@ static NTSTATUS ioctl_completion( void *arg, IO_STATUS_BLOCK *io, NTSTATUS statu
|
||||
req->handle = wine_server_obj_handle( async->handle );
|
||||
req->user_arg = wine_server_client_ptr( async );
|
||||
wine_server_set_reply( req, async->buffer, async->size );
|
||||
if (!(status = wine_server_call( req )))
|
||||
io->Information = wine_server_reply_size( reply );
|
||||
status = wine_server_call( req );
|
||||
if (status != STATUS_PENDING) io->Information = wine_server_reply_size( reply );
|
||||
}
|
||||
SERVER_END_REQ;
|
||||
}
|
||||
@ -1234,10 +1234,10 @@ static NTSTATUS server_ioctl_file( HANDLE handle, HANDLE event,
|
||||
req->async.cvalue = cvalue;
|
||||
wine_server_add_data( req, in_buffer, in_size );
|
||||
wine_server_set_reply( req, out_buffer, out_size );
|
||||
if (!(status = wine_server_call( req )))
|
||||
io->Information = wine_server_reply_size( reply );
|
||||
status = wine_server_call( req );
|
||||
wait_handle = wine_server_ptr_handle( reply->wait );
|
||||
options = reply->options;
|
||||
if (status != STATUS_PENDING) io->Information = wine_server_reply_size( reply );
|
||||
}
|
||||
SERVER_END_REQ;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user