diff options
author | Ulrich Drepper <drepper@redhat.com> | 1999-07-12 18:11:40 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 1999-07-12 18:11:40 +0000 |
commit | a4edafc1786db3ed06d928f629195b6ea426d027 (patch) | |
tree | aa081e8c74638004aa0bdb366a98e23403f441ca /nscd/grpcache.c | |
parent | 464e36050fa1dca76a30e78abb84cac457f0dfb5 (diff) | |
download | glibc-a4edafc1786db3ed06d928f629195b6ea426d027.tar.gz glibc-a4edafc1786db3ed06d928f629195b6ea426d027.tar.xz 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/grpcache.c')
-rw-r--r-- | nscd/grpcache.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nscd/grpcache.c b/nscd/grpcache.c index 446e78ed28..7a591c81ae 100644 --- a/nscd/grpcache.c +++ b/nscd/grpcache.c @@ -217,7 +217,7 @@ addgrbyname (struct database *db, int fd, request_header *req, seteuid (uid); } - while (getgrnam_r (key, &resultbuf, buffer, buflen, &grp) != 0 + while (__getgrnam_r (key, &resultbuf, buffer, buflen, &grp) != 0 && errno == ERANGE) { errno = 0; @@ -256,7 +256,7 @@ addgrbygid (struct database *db, int fd, request_header *req, seteuid (uid); } - while (getgrgid_r (gid, &resultbuf, buffer, buflen, &grp) != 0 + while (__getgrgid_r (gid, &resultbuf, buffer, buflen, &grp) != 0 && errno == ERANGE) { errno = 0; |