NetBSD/usr.bin/cut
dsl 4c18b91e3e If fgetln() returns a buffer that isn't terminated by \n, free the temporary
buffer inside the loop.  Fixes coverty CID:1674.
(This should only happen at EOF, so the loop SHOULD terminate.)
While here always output a newline at the end of the input data even when
the last (unterminated) line doesn't contain a separator.
2006-03-30 19:17:44 +00:00
..
cut.1 Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 11:13:06 +00:00
cut.c If fgetln() returns a buffer that isn't terminated by \n, free the temporary 2006-03-30 19:17:44 +00:00
Makefile Kill __P(), use ANSI function declarations, constify; WARNS=3. 2005-02-17 17:35:47 +00:00