Fix detection of gethostbyaddr{,_r} to not prefer the non-thread safe BSD version
authorphampson <phampson>
Sun, 22 Jun 2003 10:04:21 +0000 (10:04 +0000)
committerphampson <phampson>
Sun, 22 Jun 2003 10:04:21 +0000 (10:04 +0000)
commit351f8d7344f8f422fe94ebca16dd522a5711ad55
tree0880bad2b98edcac8cf81cf0127b4c4664f61977
parenteae8db4813a7edeaf34ff826822f567e178f757f
Fix detection of gethostbyaddr{,_r} to not prefer the non-thread safe BSD version
Add discriminiation of gethostbyname{,_r} similar to gethostbyaddr{,_r}
Make BSDSTYLE an actual value.
Make ip_getaddr() use a threadsafe gethostbyname_r if available.
 Based (almost completely) on a patch by Oliver Graf <ograf@rz-online.net>:
 http://lists.cistron.nl/archives/freeradius-users/2003/06/msg00686.html
 With correction by Paul Hampson <Paul.Hampson@Pobox.Com> as mentioned:
 http://lists.cistron.nl/archives/freeradius-users/2003/06/msg00702.html
acconfig.h
configure.in
src/lib/misc.c