[Date Prev][Date Next] [Chronological] [Thread] [Top]

libldap and _r-functions


are there specific reasons that the _r-functions (gethostbyname_r, 
gethostbyaddr_r, ...) are only used for libldap_r and not libldap?

I have a problem here where nss_ldap (configured to be used for 
resolving hostnames) deadlocks in a gethostbyname() call in libldap. 
Building libldap so that it uses gethostbyname_r() fixed that problem 
for me.