summaryrefslogtreecommitdiff
path: root/usr.bin/paste/paste.c
AgeCommit message (Collapse)Author
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor ↵Todd C. Miller
hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.
2001-11-19kill more registersMike Pechkin
millert@ ok
2000-06-07Check return value of malloc(). Also make the code clearer with respect toAaron Campbell
setting lbuf = NULL; millert@ ok
1999-08-24better fix; now if the last line in a file stream does not contain a newline,Aaron Campbell
construct a null-terminated copy of the buffer returned by fgetln() and process it as normal
1999-08-23fgets() -> fgetln(). When reading files like this, the notion of a `line' isAaron Campbell
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.
1998-11-16more -WallTheo de Raadt
1997-01-17r?index -> strr?chrTodd C. Miller
1997-01-15getopt(3) returns -1 when out of args, not EOF, whee!Todd C. Miller
1996-06-26rcsidTheo de Raadt
1995-10-18initial import of NetBSD treeTheo de Raadt