Subject: Re: NetBSD getaddrinfo not reentrant
To: None <yancm@sdf.lonestar.org>
From: Bill Studenmund <wrstuden@netbsd.org>
List: tech-net
Date: 05/03/2005 09:18:04
--SUOF0GtieIMvvwua
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Tue, May 03, 2005 at 12:16:18PM -0000, yancm@sdf.lonestar.org wrote:
>=20
> "We're now thinking it has to do with the fact that your platform has
> no gethostbyname_r functions, and the getaddrinfo function on netbsd,
> while claiming to be reentrant, actually isn't."

The getaddrinfo manpage indicates that the current implementation is not=20
thread safe. This indication has been in the manpage since revision 1.

> My questions:
> 1) Do these statements make sense?
> 2) Is this a known issue?
> 3) Has this been addressed in the 3 branch?

Yes, yes, and AFAIK no.

Take care,

Bill

--SUOF0GtieIMvvwua
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (NetBSD)

iD8DBQFCd6Q8Wz+3JHUci9cRAlNuAKCQl2El4CEGXomVCjXqLmgxukbKmACggzAx
BcgVLFjr/4AfzVp7OtVB4CU=
=vCzj
-----END PGP SIGNATURE-----

--SUOF0GtieIMvvwua--