From 09b6efd685c585e9bcac9a42d9882ead4f84ce92 Mon Sep 17 00:00:00 2001 From: Jacek Caban Date: Tue, 1 Dec 2020 19:21:58 +0100 Subject: [PATCH] server: Block console write until conhost processes ioctl. Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=50236 Signed-off-by: Jacek Caban Signed-off-by: Alexandre Julliard --- server/console.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/server/console.c b/server/console.c index a2171b3c1b4..dc3785e8726 100644 --- a/server/console.c +++ b/server/console.c @@ -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; }