Module: wine Branch: master Commit: 09b6efd685c585e9bcac9a42d9882ead4f84ce92 URL: https://source.winehq.org/git/wine.git/?a=commit;h=09b6efd685c585e9bcac9a42d...
Author: Jacek Caban jacek@codeweavers.com Date: Tue Dec 1 19:21:58 2020 +0100
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
---
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; }