diff options
author | das <das@FreeBSD.org> | 2009-04-06 13:50:04 +0000 |
---|---|---|
committer | das <das@FreeBSD.org> | 2009-04-06 13:50:04 +0000 |
commit | fb819f095f929ce46d622b8dc0e53ea46e567847 (patch) | |
tree | 55b9d467c4c819ca6310500170877ae242edc70b /lib/libc/stdlib | |
parent | 53892e266cca1404bd5eb8d36e56d0a00a649da7 (diff) | |
download | FreeBSD-src-fb819f095f929ce46d622b8dc0e53ea46e567847.zip FreeBSD-src-fb819f095f929ce46d622b8dc0e53ea46e567847.tar.gz |
Return -1 instead of 0 upon reaching EOF. This is somewhat ill-advised
because it means getdelim() returns -1 for both error and EOF, and
never returns 0. However, this is what the original GNU implementation
does, and POSIX inherited the bug.
Reported by: marcus@
Diffstat (limited to 'lib/libc/stdlib')
0 files changed, 0 insertions, 0 deletions