http://bugs.winehq.org/show_bug.cgi?id=29499
Mårten maarten.kjellsson@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |maarten.kjellsson@gmail.com
--- Comment #47 from Mårten maarten.kjellsson@gmail.com 2013-01-08 06:48:42 CST --- I've managed to get the patch working on a mac by following Brunos guessings in comment 28. It seems the "timeout" variable sent to poll() when on a mac is -1, wich results in poll beeing blocking. I just set the variable "timeout" to something other than -1 (in my test case i used 15 as timeout). This solved the problem and I haven't noticed any other issues with it but this is most certainly not the correct way of solving the problem.
As I'm not familiar with the wine code tree at all, I'm not sure where the problem actually derives from. Either the defines "SO_RCVTIMEO" and "SO_SNDTIMEO" are not set when compiling for mac or the function get_rcvsnd_timeo(int, int) isn't able to get the correct timeout from the socket on mac.