[Bug 9356] Serial communication not working since wine-0.9.33

wine-bugs at winehq.org wine-bugs at winehq.org
Sat Nov 24 22:05:36 CST 2007


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





--- Comment #14 from Lei Zhang <thestig at google.com>  2007-11-24 22:05:35 ---
well, I ended up not looking at this bug because I didn't have a computer with
a serial port...

now that I do, I tried out Hactronic and here's what I found:

In NtReadFile(), with the old code, we would try to do a read(), which returns
0, and NtReadFile() returns. NtReadFile() gets called repeatedly until I hit
cancel, or presumably until when it actually reads some data.

With the new code, read() returns EAGAIN, so we keep going until we call poll()
later in NtReadFile() with an infinite timeout. Since there's no hardware
connected to the serial port, the poll() call hangs.


-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list