Removal of bogus gethostbyaddr_r()

Daniel Eischen eischen at vigrid.com
Wed Jun 18 19:12:10 PDT 2003


On Wed, 18 Jun 2003, Kris Kennaway wrote:

> On Wed, Jun 18, 2003 at 08:59:23AM -0400, Daniel Eischen wrote:
> > On Wed, 18 Jun 2003, Kris Kennaway wrote:
> > 
> > > Any objections?
> > > 
> > > Kris
> > 
> > Why is this bogus?  Do we have another gethostbyaddr_r hiding
> > somewhere?
> 
> Nope, but this one isn't thread-safe, and it's not prototyped anywhere
> (see my mail to current from a few days ago).  We don't have any of
> the other getfoobybar_r functions either.

Well, I guess we should probably fix the prototype and make
it thread-safe, but if ports are failing because they pick it
up, then I don't have a problem with removing it.  What's
there is simple enough to add back once it has the correct
API and is really thread-safe.  My $.02.

-- 
Dan Eischen



More information about the freebsd-threads mailing list