From 611dc583a05914f81c97c165163bcce021b0dfac Mon Sep 17 00:00:00 2001 From: Arthur de Jong Date: Fri, 8 Oct 2010 11:56:56 +0000 Subject: re-introduce {set,get,end}**ent() file handle in Solaris code path and some other miscellaneous small fixes git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd-solaris@1246 ef36b2f9-881f-0410-afb5-c4e39611909c --- nss/hosts.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'nss/hosts.c') diff --git a/nss/hosts.c b/nss/hosts.c index b07e56e..dbd782e 100644 --- a/nss/hosts.c +++ b/nss/hosts.c @@ -355,6 +355,8 @@ static nss_status_t _xnss_ldap_gethostbyaddr_r(nss_backend_t UNUSED(*be),void *a return retv; } +/* thread-local file pointer to an ongoing request */ +static __thread TFILE *hostentfp; static nss_status_t _xnss_ldap_sethostent(nss_backend_t UNUSED(*be),void UNUSED(*args)) { -- cgit v1.2.3