From owner-freebsd-threads@FreeBSD.ORG Wed Jun 18 14:12:16 2003 Return-Path: Delivered-To: freebsd-threads@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DBF6937B401 for ; Wed, 18 Jun 2003 14:12:16 -0700 (PDT) Received: from obsecurity.dyndns.org (adsl-64-169-104-32.dsl.lsan03.pacbell.net [64.169.104.32]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2526C43F93 for ; Wed, 18 Jun 2003 14:12:16 -0700 (PDT) (envelope-from kris@obsecurity.org) Received: from rot13.obsecurity.org (rot13.obsecurity.org [10.0.0.5]) by obsecurity.dyndns.org (Postfix) with ESMTP id EA93766E2B; Wed, 18 Jun 2003 14:12:15 -0700 (PDT) Received: by rot13.obsecurity.org (Postfix, from userid 1000) id D20354DA; Wed, 18 Jun 2003 14:12:15 -0700 (PDT) Date: Wed, 18 Jun 2003 14:12:15 -0700 From: Kris Kennaway To: Daniel Eischen Message-ID: <20030618211215.GC21622@rot13.obsecurity.org> References: <3EF09656.CF1614A5@mindspring.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="V0207lvV8h4k8FAm" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.1i cc: threads@freebsd.org cc: Kris Kennaway Subject: Re: Removal of bogus gethostbyaddr_r() X-BeenThere: freebsd-threads@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Threading on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Jun 2003 21:12:17 -0000 --V0207lvV8h4k8FAm Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jun 18, 2003 at 02:17:29PM -0400, Daniel Eischen wrote: > On Wed, 18 Jun 2003, Terry Lambert wrote: >=20 > > Daniel Eischen wrote: > > > On Wed, 18 Jun 2003, Kris Kennaway wrote: > > > > Any objections? > > >=20 > > > Why is this bogus? Do we have another gethostbyaddr_r hiding > > > somewhere? > >=20 > > It lies? (_r). >=20 > If that's true, then it's a bug and eventually should > be fixed. Additionally, you can't go around removing > public interfaces without bumping library versions > (unless said interface hasn't seen a release yet). It's not a public interface since it's not prototyped, but a number of ports (>27) are finding it anyway and then presumably failing to work correctly because they think they're getting a re-entrant gethostbyaddr() but are not (alternatively, because they're guessing the wrong prototype and will fail to work due to LP64 issues). Please look into the CVS history of this change - it was not mentioned in the commit log by julian, and it looks to me like it was committed accidentally (Julian hasn't responded to 2 mails enquiring about it though). Kris --V0207lvV8h4k8FAm Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (FreeBSD) iD8DBQE+8NWvWry0BWjoQKURAh2+AJ9ZMtIL2xqYYY4JWgBwV8EmJtl3JACfUn/t /qXD5SwHI4uOzoGKyrf7A2A= =8jTt -----END PGP SIGNATURE----- --V0207lvV8h4k8FAm--