Jacek Caban : wineconsole: Ignore ERROR_IO_INCOMPLETE error in WINECON_GrabChanges.

Alexandre Julliard julliard at winehq.org
Mon Jul 27 16:35:14 CDT 2020


Module: wine
Branch: master
Commit: 928fffee8dac4a9555bbbc141d9f29483422eee1
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=928fffee8dac4a9555bbbc141d9f29483422eee1

Author: Jacek Caban <jacek at codeweavers.com>
Date:   Fri Jul 24 20:39:53 2020 +0200

wineconsole: Ignore ERROR_IO_INCOMPLETE error in WINECON_GrabChanges.

Signed-off-by: Jacek Caban <jacek at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 programs/wineconsole/wineconsole.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/programs/wineconsole/wineconsole.c b/programs/wineconsole/wineconsole.c
index be6ddf2000..ad3cd25bf5 100644
--- a/programs/wineconsole/wineconsole.c
+++ b/programs/wineconsole/wineconsole.c
@@ -212,6 +212,7 @@ void	WINECON_GrabChanges(struct inner_data* data)
 
     if (!GetOverlappedResult(data->hSynchro, &data->overlapped, &num, FALSE))
     {
+        if (GetLastError() == ERROR_IO_INCOMPLETE) return;
         ERR( "failed to get renderer events: %u\n", GetLastError() );
         data->dying = TRUE;
         return;




More information about the wine-cvs mailing list