aboutsummaryrefslogtreecommitdiff
path: root/nscd/hstcache.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1999-07-12 18:11:40 +0000
committerUlrich Drepper <drepper@redhat.com>1999-07-12 18:11:40 +0000
commita4edafc1786db3ed06d928f629195b6ea426d027 (patch)
treeaa081e8c74638004aa0bdb366a98e23403f441ca /nscd/hstcache.c
parent464e36050fa1dca76a30e78abb84cac457f0dfb5 (diff)
downloadglibc-a4edafc1786db3ed06d928f629195b6ea426d027.tar
glibc-a4edafc1786db3ed06d928f629195b6ea426d027.tar.gz
glibc-a4edafc1786db3ed06d928f629195b6ea426d027.tar.bz2
glibc-a4edafc1786db3ed06d928f629195b6ea426d027.zip
Update.
1999-07-11 H.J. Lu <hjl@gnu.org> * nscd/grpcache.c: Add prefix "__" to get[a-z]*_r () to get nscd's own strong version of the get[a-z]*_r function. * nscd/hstcache.c: Likwise. * nscd/pwdcache.c: Likwise.
Diffstat (limited to 'nscd/hstcache.c')
-rw-r--r--nscd/hstcache.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/nscd/hstcache.c b/nscd/hstcache.c
index 93b71a65d6..b8a80af340 100644
--- a/nscd/hstcache.c
+++ b/nscd/hstcache.c
@@ -305,8 +305,8 @@ addhstbyname (struct database *db, int fd, request_header *req,
seteuid (uid);
}
- while (gethostbyname2_r (key, AF_INET, &resultbuf, buffer, buflen, &hst,
- &h_errno) != 0
+ while (__gethostbyname2_r (key, AF_INET, &resultbuf, buffer, buflen,
+ &hst, &h_errno) != 0
&& h_errno == NETDB_INTERNAL
&& errno == ERANGE)
{
@@ -349,8 +349,8 @@ addhstbyaddr (struct database *db, int fd, request_header *req,
seteuid (uid);
}
- while (gethostbyaddr_r (key, INADDRSZ, AF_INET, &resultbuf, buffer, buflen,
- &hst, &h_errno) != 0
+ while (__gethostbyaddr_r (key, INADDRSZ, AF_INET, &resultbuf, buffer,
+ buflen, &hst, &h_errno) != 0
&& h_errno == NETDB_INTERNAL
&& errno == ERANGE)
{
@@ -394,8 +394,8 @@ addhstbynamev6 (struct database *db, int fd, request_header *req,
seteuid (uid);
}
- while (gethostbyname2_r (key, AF_INET6, &resultbuf, buffer, buflen, &hst,
- &h_errno) != 0
+ while (__gethostbyname2_r (key, AF_INET6, &resultbuf, buffer, buflen,
+ &hst, &h_errno) != 0
&& h_errno == NETDB_INTERNAL
&& errno == ERANGE)
{
@@ -438,8 +438,8 @@ addhstbyaddrv6 (struct database *db, int fd, request_header *req,
seteuid (uid);
}
- while (gethostbyaddr_r (key, IN6ADDRSZ, AF_INET6, &resultbuf, buffer, buflen,
- &hst, &h_errno) != 0
+ while (__gethostbyaddr_r (key, IN6ADDRSZ, AF_INET6, &resultbuf,
+ buffer, buflen, &hst, &h_errno) != 0
&& h_errno == NETDB_INTERNAL
&& errno == ERANGE)
{