BUG in my patch (WAS Re: wine/ dlls/winsock/socket.c files/file.c)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> ChangeSet ID:	10318533902.32186439497184e-05

Oops ...

Patch: Fix BUG in my latest GetOverlappedResult() patch
Martin Wilck <Martin.Wilck@fujitsu-siemens.com>
Patch against: CVS 2002-09-13

Modified files: 
      *  wine/files: file.c

Log Message:
      * Wait Timeout must be 0 if bWait == FALSE  

Index: files/file.c
===================================================================
RCS file: /home/wine/wine/files/file.c,v
retrieving revision 1.160
diff -u -r1.160 file.c
--- files/file.c	12 Sep 2002 22:28:01 -0000	1.160
+++ files/file.c	13 Sep 2002 06:30:17 -0000
@@ -1569,7 +1569,7 @@
            it may be a non-manual reset event. */
         do {
             TRACE("waiting on %p\n",lpOverlapped);
-            r = WaitForSingleObjectEx(lpOverlapped->hEvent, INFINITE, TRUE);
+            r = WaitForSingleObjectEx(lpOverlapped->hEvent, 0, TRUE);
             TRACE("wait on %p returned %ld\n",lpOverlapped,r);
         } while (r==STATUS_USER_APC);
         if ( r == WAIT_OBJECT_0 )



-- 
Martin Wilck                Phone: +49 5251 8 15113
Fujitsu Siemens Computers   Fax:   +49 5251 8 20409
Heinz-Nixdorf-Ring 1	    mailto:Martin.Wilck@Fujitsu-Siemens.com
D-33106 Paderborn           http://www.fujitsu-siemens.com/primergy







[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux