server: Block console write until conhost processes ioctl.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=50236 Signed-off-by: Jacek Caban <jacek@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
60f11d2929
commit
09b6efd685
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue