freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
- From: Frediano Ziglio <freddyz77 AT tin.it>
- To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
- Subject: Re: [freetds] threadsafe
- Date: Tue, 22 Aug 2006 20:23:00 +0200
Il giorno mar, 22/08/2006 alle 18.29 +0100, Patrick Welche ha scritto:
> It seems that --disable-threadsafe has no effect:
>
> threadsafe.c:279:2: error: #error gethostbyname_r style unknown
>
> i.e., threadsafe.c is compiled, and the _r functions tried.
>
> It may be that defining NETDB_REENTRANT if --disable-threadsafe may be
> sufficient to fix it - I haven't tried.
>
yes, actually --disable-threadsafe has the only effect to not define
_REENTRANT and _THREAD_SAFE, perhaps defining NETDB_REENTRANT would
help. Which platform are you using?
>
> .. I was wondering also whether getaddrinfo / getnameinfo would be worth
> trying too..
>
Look at threadsafe.c you will find getaddrinfo.
> Cheers,
>
> Patrick
freddy77
-
[freetds] threadsafe,
Patrick Welche, 08/22/2006
-
Re: [freetds] threadsafe,
Frediano Ziglio, 08/22/2006
-
Re: [freetds] threadsafe,
Patrick Welche, 08/23/2006
-
Re: [freetds] threadsafe,
Frediano Ziglio, 08/23/2006
- Re: [freetds] threadsafe, jklowden, 08/29/2006
-
Re: [freetds] threadsafe,
Patrick Welche, 08/29/2006
- Re: [freetds] threadsafe, Frediano Ziglio, 08/29/2006
-
Re: [freetds] threadsafe,
Frediano Ziglio, 08/23/2006
-
Re: [freetds] threadsafe,
Patrick Welche, 08/23/2006
- <Possible follow-up(s)>
- Re: [freetds] threadsafe, ZIGLIO, Frediano, VF-IT, 08/29/2006
-
Re: [freetds] threadsafe,
Frediano Ziglio, 08/22/2006
Archive powered by MHonArc 2.6.24.