http://bugs.winehq.org/show_bug.cgi?id=28056
--- Comment #15 from Jörg Höhle hoehle@users.sourceforge.net 2011-09-21 03:50:02 CDT --- Created an attachment (id=36486) --> (http://bugs.winehq.org/attachment.cgi?id=36486) EAGAIN is normal as the buffer fills up.
Please try this patch. Note that I don't have OSS4 so it's untested. It's incompatible with my former error handling patch but you shouldn't need it because the "resource temporarily unavailable" error should go away. Still I need to merge both patches (and decide what error to return in that case).