On Tue, 26 Sep 2006, Mark Andrews wrote:

        get*by*_r() are deprecated on most platforms and there use
        is highly non-portable, lots of different API's.

My understanding was that FreeBSD has copied the Linux version of the
API.

        Why are we adding compatability for deprecated functions?

Some projects use them and do not consider get*by*() functions to be
thread-safe (FreeBSD's are).  They would naturally impose extra locking
on the get*by*() calls for safety.  devel/nspr which Firefox uses for
its network calls.  I also saw that games/sauerbraten uses them.  Of
course, these projects should replace these calls with getaddrinfo().

Sean
--
[EMAIL PROTECTED]
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to