Removal of bogus gethostbyaddr_r()

David Xu davidxu at freebsd.org
Wed Jun 18 15:05:20 PDT 2003


----- Original Message ----- 
From: "Daniel Eischen" <eischen at vigrid.com>
To: "Terry Lambert" <tlambert2 at mindspring.com>
Cc: <threads at freebsd.org>; "Kris Kennaway" <kris at obsecurity.org>
Sent: Thursday, June 19, 2003 2:17 AM
Subject: Re: Removal of bogus gethostbyaddr_r()


> On Wed, 18 Jun 2003, Terry Lambert wrote:
> 
> > Daniel Eischen wrote:
> > > On Wed, 18 Jun 2003, Kris Kennaway wrote:
> > > > Any objections?
> > > 
> > > Why is this bogus?  Do we have another gethostbyaddr_r hiding
> > > somewhere?
> > 
> > It lies?  (_r).
> 
> 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).
> 

I think those *_r interfaces are not very useful except
bloating library. why do not improve non _r version to use
thread local instead to make them reentrant between threads ?

> -- 
> Dan Eischen
> 
> _______________________________________________
> freebsd-threads at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-threads
> To unsubscribe, send any mail to "freebsd-threads-unsubscribe at freebsd.org"
> 


More information about the freebsd-threads mailing list