cURL / Mailing Lists / curl-library / Single Mail


Re: Error messages for threaded resolver

From: Guenter <>
Date: Wed, 04 May 2011 14:05:23 +0200

Am 27.04.2011 13:25, schrieb Daniel Stenberg:
> On Tue, 26 Apr 2011, Guenter wrote:
>> NetWare doesnt have gai_strerror(), and I believe a couple more
>> platforms dont have it - just take a look at f.e. PostgreSQL where
>> they provide an own implementation for platforms which lack of it.
> Right, the functionality is ridiculously simple as there's only 10
> documented error codes in POSIX...
>> Also the Windows implementation is not thread-safe;
> Given an error code the function should return a fixed string and they
> manage to do that not thread-safe? Amazing...
> I took Jeff's original patch and your feedback and ended up the
> following two patches. Comments?
looks good; a friend tried it and reported it compiles for NetWare - I
had no time yet to check self, but if there are any remaining quirks
(which I doubt) I've sort them out after you have pushed it ...


List admin:
Received on 2011-05-04