iphlpapi: Only call res_init() once per process

Jason Green jave27 at gmail.com
Wed Apr 18 10:29:10 CDT 2007


Original author: Mark Adams, TransGaming Technologies.

Mac OSX 10.4 has a nasty bug in its res_init() implementation where if
you call it more than once per process, it closes fd 0 on you.  This
only needs to be called once per process anyway, so we'll move it to
the ATTACH_PROCESS section.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: iphlpapi.diff
Type: text/x-patch
Size: 687 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20070418/bfee937f/iphlpapi.bin


More information about the wine-patches mailing list