overlapped ReadFile should ignore EAGAIN

Mike McCormack mike_mccormack at start.com.au
Wed Dec 19 02:35:15 CST 2001


This is a fix for the problem below. Since all COM port fds are
non-blocking, if we get an error (EAGAIN) return from the initial
read, we should just ignore it and let the wineserver poll on it.

Mike

0806e1d8:Call
kernel32.ReadFile(000000a4,40c02a40,00000400,40596944,40bf3f44)
ret=0043ecff
trace:file:ReadFile 164 0x40c02a40 1024 0x40596944 0x40bf3f44
trace:file:FILE_SetDosError errno = 11 Resource temporarily
unavailable                                       


ChangeLog:
* ignore errors on initial read for overlapped ReadFile



------------------------------------------
mailto:Mike_McCormack at start.com.au
ph +82 16 430 0425

__________________________________________________________________
Get your free Australian email account at http://www.Looksmart.com.au
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ignore_read_err.diff
Type: application/octet-stream
Size: 559 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20011219/ece81d12/ignore_read_err.obj


More information about the wine-patches mailing list