[tor-dev] [Patch] or/eventdns.c
gvanem at broadpark.no
Wed Oct 19 19:24:02 UTC 2011
I've made eventdns.c + '-DEVDNS_MAIN' compile and work
under Windows / MSVC. Some simple patches:
* Use set_socket_nonblocking() instead of the F_SETFL hacks.
* Preserve the ret-val from evdns_config_windows_nameservers().
* In main(), call network_init() to call WSAStartup() etc.
* Removed 'evdns_resolv_conf_parse(DNS_OPTION_NAMESERVERS, ...'
and call evdns_init() instead. This uses 'DNS_OPTIONS_ALL'. Does that
Attached diff-1.txt. (sorry, I'm a Git neophyte).
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
More information about the tor-dev