[Bug 9425] Select behavior different on Wine

wine-bugs at winehq.org wine-bugs at winehq.org
Sun Feb 5 18:34:24 CST 2012


http://bugs.winehq.org/show_bug.cgi?id=9425

--- Comment #23 from Bruno Jesus <00cpxxx at gmail.com> 2012-02-05 18:34:24 CST ---
(In reply to comment #22)
> Thx, your point highlights my original comment 10. We must not even return from
> WS_select() in case the user doesn't wait on exceptfds. But looking at
> WS_select() there is now way to prevent this with fixing get_poll_results()
> alone.
> BTW would we even enter get_poll_results() if user only selects exceptfds?
> Looks like we have to know about this move in WS_select() already.

As far as I remember get_poll_results is always called if poll returns != -1.
The timeout is respected only if poll returns error as seen in:
http://source.winehq.org/source/dlls/ws2_32/socket.c#L3752

About the conding style I was just following common rules I see often in other
users reviewing =)

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list