http://bugs.winehq.org/show_bug.cgi?id=10056
Adrian Cox adrian@humboldt.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #8611 is|0 |1 obsolete| |
--- Comment #4 from Adrian Cox adrian@humboldt.co.uk 2008-03-28 11:23:39 --- Created an attachment (id=11714) --> (http://bugs.winehq.org/attachment.cgi?id=11714) Don't attempt initial read for serial ports
This patch is based on Wolfgang Walter's comment. The aim is to revert serial ports to the original Wine behaviour, and to queue the asynchronous I/O without attempting a read first. The approach should be independent of the operating system's interpretation of Posix serial port behaviour: as explained in the comment above, the current approach is vulnerable to an ambiguity in Posix.
The patch is very simple, and should not affect anything other than serial ports, but it does modify a larger number of lines in order to preserve the file indentation.