[patch] make getline return description match the code
Ulrich Drepper
drepper@redhat.com
Sat Jan 6 15:17:00 GMT 2001
Ben Collins <bcollins@debian.org> writes:
> If getline() reads a line with no newline, and reaches EOF, it still
> returns the number of bytes read, and not -1 as the documentation
> implies. This patch just clarifies that.
Thanks, I've applied it.
--
---------------. ,-. 1325 Chesapeake Terrace
Ulrich Drepper \ ,-------------------' \ Sunnyvale, CA 94089 USA
Red Hat `--' drepper at redhat.com `------------------------
More information about the Libc-alpha
mailing list