https://bugs.winehq.org/show_bug.cgi?id=39875
--- Comment #1 from Alex Henrie alexhenrie24@gmail.com --- Created attachment 53426 --> https://bugs.winehq.org/attachment.cgi?id=53426 Test program that demonstrates the problem
Testing revealed that Starcraft sets ReadIntervalTimeout to 5 and all other COMMTIMEOUTS members to 0. The problem, as demonstrated by the attached test program, appears to be that Wine ignores ReadIntervalTimeout if the read is asynchronous and so the read operation never times out.
I've tried editing server/serial.c to take the interval timeout into account, but nothing I can think of is very elegant. Help from other developers would really be appreciated.