server/console patch

Ove Kaaven ovek at arcticnet.no
Wed Nov 7 22:37:16 CST 2001


This patch is obsoleted by Eric's win32 console rewrite, but that patch
was not applied yet. If that rewrite is not going to be applied soon, this
patch must be applied instead for my new DOS structure to work. But
applying this may cause a slight conflict with that win32 console rewrite
patch, of course...

Log:
Changing console fds while a thread is waiting for console input
shouldn't cause problems, so the asserts can be removed.

Index: server/console.c
===================================================================
RCS file: /home/wine/wine/server/console.c,v
retrieving revision 1.28
diff -u -r1.28 console.c
--- server/console.c	2001/10/04 16:18:15	1.28
+++ server/console.c	2001/11/08 03:02:49
@@ -190,10 +190,6 @@
         return 0;
     }
 
-    /* can't change the fd if someone is waiting on it */
-    assert( !input->obj.head );
-    assert( !output->obj.head );
-
     change_select_fd( &input->obj, fd_in );
     change_select_fd( &output->obj, fd_out );
     output->pid = pid;





More information about the wine-patches mailing list