Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Feb 2004 15:34:27 -0600
From:      Peter Schultz <pmes@bis.midco.net>
To:        "Brian F. Feldman" <green@FreeBSD.org>
Cc:        cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/include netdb.h resolv.h src/lib/libc/include gethostbyname.3res_send_private.h ...
Message-ID:  <403D14E3.6000508@bis.midco.net>
In-Reply-To: <200402252113.i1PLDOtN065489@green.homeunix.org>
References:  <200402252113.i1PLDOtN065489@green.homeunix.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Brian F. Feldman wrote:
> Brian Feldman <green@FreeBSD.org> wrote:
> 
>>  Make the resolver(3) and many associated interfaces much more reentrant.
>>  The getaddrinfo(3), getipnodebyname(3) and resolver(3) can coincide now
>>  with what should be totally reentrant, and h_errno values will now
>>  be preserved correctly, but this does not affect interfaces such as
>>  gethostbyname(3) which are still mostly non-reentrant.
> 
> 
> Geez, I certainly hope no English teachers ever see that paragraph.
> 
> This has been tested by several other -CURRENT users with no issues, so be 
> certain to report any as they come up.  There shouldn't be much software 
> which has to be recompiled, outside of the base system.  The resolver(3) 
> interface is not very portable, so usage of the _res structure should be 
> relatively rare, and threaded programs should already be using 
> getaddrinfo(3) and getting error returns via that API, and not via
> h_errno.
> 
Thanks Brian.

I just want to note that I did need to recompile mozilla in order to 
avoid a crash involving libnspr4.so.  I haven't come across any other 
problems other than that.

Pete...



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?403D14E3.6000508>