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/pwdcache.c | |
parent | 464e36050fa1dca76a30e78abb84cac457f0dfb5 (diff) | |
download | glibc-a4edafc1786db3ed06d928f629195b6ea426d027.zip glibc-a4edafc1786db3ed06d928f629195b6ea426d027.tar.gz glibc-a4edafc1786db3ed06d928f629195b6ea426d027.tar.bz2 |
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/pwdcache.c')
-rw-r--r-- | nscd/pwdcache.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nscd/pwdcache.c b/nscd/pwdcache.c index 95d6ec3..2e54a77 100644 --- a/nscd/pwdcache.c +++ b/nscd/pwdcache.c @@ -215,7 +215,7 @@ addpwbyname (struct database *db, int fd, request_header *req, seteuid (c_uid); } - while (getpwnam_r (key, &resultbuf, buffer, buflen, &pwd) != 0 + while (__getpwnam_r (key, &resultbuf, buffer, buflen, &pwd) != 0 && errno == ERANGE) { errno = 0; @@ -254,7 +254,7 @@ addpwbyuid (struct database *db, int fd, request_header *req, seteuid (c_uid); } - while (getpwuid_r (uid, &resultbuf, buffer, buflen, &pwd) != 0 + while (__getpwuid_r (uid, &resultbuf, buffer, buflen, &pwd) != 0 && errno == ERANGE) { errno = 0; |