Am Mittwoch, 3. Juni 2009 schrieben Sie:
2009/6/3 Wolfgang Walter wine@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:
Fix WaitCommEvent() when used asynchronously
make wait_for_event() detect when serial fd is not valid any more
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.
Separating 1) und 2) does not make sense.
3) needs fixes 1) and 2).
Separating 3) is possible but I can't test 1) and 2) alone.
Regards,