Tommie Gannert | 13 Aug 2012 16:00

Re: adig.c calls perror()

2012/8/10 Gisle Vanem <gvanem@...>:
> adig.c calls perror() when select() fail. This doesn't work on
> Winsock; perror() prints errno string, not WSAGetLastError().
> So I suggest we add a new ares_perror() function to ares_strerror.c:

Makes sense to me.

Quickly and unscientifically searching the web gave me

  http://tangentsoft.net/wskfaq/articles/bsd-compatibility.html

which states the same thing.

--

-- 
Tommie Gannert
Software engineer, backend infrastructure
Spotify AB


Gmane