Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/nss/hosts.c
diff options
context:
space:
mode:
authorArthur de Jong <arthur@arthurdejong.org>2010-10-08 13:56:56 +0200
committerArthur de Jong <arthur@arthurdejong.org>2010-10-08 13:56:56 +0200
commit611dc583a05914f81c97c165163bcce021b0dfac (patch)
tree7136faabebdef16fc8690f1fee37d209a53fa7dd /nss/hosts.c
parent5afa471c1b514d82da2fde66fbed699a2e2862fa (diff)
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
Diffstat (limited to 'nss/hosts.c')
-rw-r--r--nss/hosts.c2
1 files changed, 2 insertions, 0 deletions
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))
{