cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Error messages for threaded resolver

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

Daniel,
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 ...

GŁn.

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2011-05-04