Make serial fd blocking mode depend on FILE_FLAG_OVERLAPPED

Mike McCormack mike_mccormack at start.com.au
Sun Oct 7 21:23:32 CDT 2001


This patch causes a serial port's fd to be put into blocking mode if
FILE_FLAG_OVERLAPPED is not specified and non-blocking mode if  it is.

ReadFile should block on serial ports for non-overlapped reads. The
next step is to refuse overlapped reads and writes if the file isn't
opened with FILE_FLAG_OVERLAPPED specified.

Mike


ChangeLog:
* make serial fd blocking mode depend on FILE_FLAG_OVERLAPPED 



------------------------------------------
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: overlapped_flag.diff
Type: application/octet-stream
Size: 6391 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20011008/324dc578/overlapped_flag.obj


More information about the wine-patches mailing list