summaryrefslogtreecommitdiff
path: root/usr.bin/tail/tail.1
diff options
context:
space:
mode:
authorAaron Campbell <aaron@cvs.openbsd.org>1999-08-23 23:58:24 +0000
committerAaron Campbell <aaron@cvs.openbsd.org>1999-08-23 23:58:24 +0000
commit869e595678db8779e0d146cb0718ae68585f601c (patch)
treecbb061c3db4512244c511b729d658eff9efacddc /usr.bin/tail/tail.1
parentdf6c2d4ed7d9e0e5f4c523b0a46c9bb16b28e52e (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/tail/tail.1')
0 files changed, 0 insertions, 0 deletions