about summary refs log tree commit diff
path: root/src/passwd/nscd_query.c
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2015-02-23 00:42:40 -0500
committerRich Felker <dalias@aerifal.cx>2015-02-23 00:42:40 -0500
commit0afef1aa24b784c86ae6121ca39e999824086c7c (patch)
tree306d47b63e5c57b451d3e73e5738ff8dc2c2eb42 /src/passwd/nscd_query.c
parentfc5a96c9c8aa186effad7520d5df6b616bbfd29d (diff)
downloadmusl-0afef1aa24b784c86ae6121ca39e999824086c7c.tar.gz
musl-0afef1aa24b784c86ae6121ca39e999824086c7c.tar.xz
musl-0afef1aa24b784c86ae6121ca39e999824086c7c.zip
fix spurious errors in refactored passwd/group code
errno was treated as the error status when the return value of getline
was negative, but this condition can simply indicate EOF and is not
necessarily an error.

the spurious errors caused by this bug masked the bug which was fixed
in commit fc5a96c9c8aa186effad7520d5df6b616bbfd29d.
Diffstat (limited to 'src/passwd/nscd_query.c')
0 files changed, 0 insertions, 0 deletions