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

wine-bugs at winehq.org wine-bugs at winehq.org
Sun Nov 25 23:32:13 CST 2007


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





--- Comment #16 from Damjan Jovanovic <damjan.jov at gmail.com>  2007-11-25 23:32:12 ---
Created an attachment (id=9347)
 --> (http://bugs.winehq.org/attachment.cgi?id=9347)
set the fd back to blocking if necessary

This part of the patch that causes the regression looks suspicious:

-    /* set the fd back to blocking if necessary */
-    if (options & (FILE_SYNCHRONOUS_IO_ALERT | FILE_SYNCHRONOUS_IO_NONALERT))
-        fcntl( unix_fd, F_SETFL, 0 );


I'm guessing in the new code it isn't set to blocking, leading to EAGAIN on
reads. If that's the case, the attached patch should fix it. Please try it and
report back.

(Bloody serial ports. We really need regression tests for the them.)


-- 
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