ws2_32: Fail when select is called with an invalid fd. (try 4)

Vincent Povirk vincent at
Sun Sep 19 17:21:35 CDT 2010

(Of course, I can either include a message or remember the patch, but not both.)

This time I'm calling release_poll_fds. I think this will prevent leaking of fd's, but it does test the exceptfds for errors (harmless but unnecessary afaict). I don't know if duplicating the code is better, so I default to the easy choice.

Eventually, I have to get this right by trial and error.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0001-ws2_32-Fail-when-select-is-called-with-an-invalid-fd.txt
URL: <>

More information about the wine-patches mailing list