diff options
author | Florian Weimer <fweimer@redhat.com> | 2021-07-07 18:33:52 +0200 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2021-07-07 18:33:52 +0200 |
commit | 6212bb67f4695962748a5981e1b9fea105af74f6 (patch) | |
tree | 0b6a4e918af592a90eb20ffdb2d28ece568ab4bd /nss/nss_readline.c | |
parent | 36861a968ad143f662db489cd8f859186ee375c2 (diff) | |
download | glibc-6212bb67f4695962748a5981e1b9fea105af74f6.zip glibc-6212bb67f4695962748a5981e1b9fea105af74f6.tar.gz glibc-6212bb67f4695962748a5981e1b9fea105af74f6.tar.bz2 |
nss_files: Move into libc
This is the first step towards fixing bug 27959.
Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Diffstat (limited to 'nss/nss_readline.c')
-rw-r--r-- | nss/nss_readline.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nss/nss_readline.c b/nss/nss_readline.c index 4b3ecbc..a2f397a 100644 --- a/nss/nss_readline.c +++ b/nss/nss_readline.c @@ -40,7 +40,7 @@ __nss_readline (FILE *fp, char *buf, size_t len, off64_t *poffset) *poffset = __ftello64 (fp); buf[len - 1] = '\xff'; /* Marker to recognize truncation. */ - if (fgets_unlocked (buf, len, fp) == NULL) + if (__fgets_unlocked (buf, len, fp) == NULL) { if (feof_unlocked (fp)) { @@ -61,7 +61,7 @@ __nss_readline (FILE *fp, char *buf, size_t len, off64_t *poffset) line on the next call. */ return __nss_readline_seek (fp, *poffset); - /* fgets_unlocked succeeded. */ + /* __fgets_unlocked succeeded. */ /* Remove leading whitespace. */ char *p = buf; |