[Bug 10056] False error on serial port read

wine-bugs at winehq.org wine-bugs at winehq.org
Fri Mar 28 11:23:40 CDT 2008


http://bugs.winehq.org/show_bug.cgi?id=10056


Adrian Cox <adrian at humboldt.co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
Attachment #8611 is|0                           |1
           obsolete|                            |




--- Comment #4 from Adrian Cox <adrian at 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.


-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list