Kris Kennaway wrote: > There's a bogus implementation of gethostbyaddr_r() in > lib/libc/net/gethostnamadr.c that was committed 6 years and nine > months ago: [...] > What's the deal here? Despite the fact that this is not prototyped in > a header, some ports are detecting this, and -- one assumes -- not > behaving correctly since this implementation isn't thread-safe.
It should be removed. It's really hard to write a multithreaded version of this function, since it's essentially a request/response protocol. The most correct implementation would use a seperate worker thread and queue requests to it. -- Terry _______________________________________________ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "[EMAIL PROTECTED]"