b944bc0 The non-reentrant gethostbyXXXX() functions deadlock if called recursively, for

Authored and Committed by nalin 18 years ago
    The non-reentrant gethostbyXXXX() functions deadlock if called recursively, for
    example if libldap needs to be initialized from within gethostbyXXXX() (which
    actually happens if nss_ldap is used for hostname resolution and earlier
    modules can't resolve the local host name), so use the reentrant versions of
    the functions, even if we're not being compiled for use in libldap_r (patch
    from Jeffery Layton, #179730).