3 Jun
2009
3 Jun
'09
11:44 a.m.
2009/6/3 Wolfgang Walter <wine(a)stwm.de>:
I posted the patch on wine-patches. But nobody commented on it so I don't know if it is ok or not. As we need it for several applications we use I have a version for newer wine versions. It is attached.
The patch actually fixes 3 things:
1) Fix WaitCommEvent() when used asynchronously
2) make wait_for_event() detect when serial fd is not valid any more
3) make events work better with serial devices not supporting TIOCGICOUNT (Most drivers of usb2serial adapters do not support TIOCGICOUNT, nor do pseudo terminals)
Fix for 3) could be separated from 1) und 2) but I can't test 1) and 2) without 3).
If it's possible, submit one patch for each one thing getting fixed.