diff options
author | Aaron Campbell <aaron@cvs.openbsd.org> | 1999-08-23 23:58:24 +0000 |
---|---|---|
committer | Aaron Campbell <aaron@cvs.openbsd.org> | 1999-08-23 23:58:24 +0000 |
commit | 869e595678db8779e0d146cb0718ae68585f601c (patch) | |
tree | cbb061c3db4512244c511b729d658eff9efacddc /usr.bin/newsyslog | |
parent | df6c2d4ed7d9e0e5f4c523b0a46c9bb16b28e52e (diff) |
fgets() -> fgetln(). When reading files like this, the notion of a `line' is
more appropriate than C strings. Now paste won't die if it encounters null
characters. If the last line in the stream does not contain a newline, we now
say "incomplete line" instead of lying about "line too long". fgetln() uses
realloc, so now we're not limited to POSIX_LINE_MAX.
Diffstat (limited to 'usr.bin/newsyslog')
0 files changed, 0 insertions, 0 deletions