David Schultz 6685ac34d9 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@
2009-04-06 13:50:04 +00:00
..
2008-12-23 22:50:39 +00:00
2008-11-29 14:32:14 +00:00
2009-03-22 01:24:32 +00:00
2009-03-24 22:35:05 +00:00
2009-04-05 18:30:24 +00:00