http://bugs.winehq.org/show_bug.cgi?id=10056
--- Comment #1 from Alexandre Julliard julliard@winehq.org 2007-10-16 09:27:02 --- The right way would be to have read() return EAGAIN in that case, so that we can do the async I/O or timeout handling manually. You could try to set VMIN to 1 and VTIME to 0, though I'm not sure this would do the right thing on all platforms.