iphlpapi: _res is per-thread in glibc with pthreads (try 2)
dank at kegel.com
Mon Feb 8 08:25:36 CST 2010
With test. Without the fix, the test case crashes on my machine
if you add more than one nameserver in /etc/resolv.conf.
Fixes crash in bug http://bugs.winehq.org/show_bug.cgi?id=21624
Same fix probably needed in dnsapi, or maybe iphlpapi should
use dnsapi rather than unix dns api.
Thanks to AF for the analysis.
Change since first posted: much simpler, use the init
bit built into the resolver.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 1772 bytes
Desc: not available
More information about the wine-patches