Commit 09b6efd6 authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

server: Block console write until conhost processes ioctl.

parent 60f11d29
......@@ -992,9 +992,7 @@ static int screen_buffer_write( struct fd *fd, struct async *async, file_pos_t p
/* we can't use default async handling, because write result is not
* compatible with ioctl result */
iosb = async_get_iosb( async );
iosb->status = STATUS_SUCCESS;
iosb->result = iosb->in_size;
async_terminate( async, iosb->result ? STATUS_ALERTED : STATUS_SUCCESS );
release_object( iosb );
return 1;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment