summaryrefslogtreecommitdiffstats
path: root/usr.bin/paste/paste.c
Commit message (Collapse)AuthorAgeFilesLines
* Use fgetln(3) to handle lines of unlimited length instead of atjr2002-05-241-15/+15
| | | | | | getc/putc loop. Suggested by: dd
* P1003.2 forbids imposing any limit on line lengths; read character bytjr2002-05-241-24/+22
| | | | character instead of manually buffering each line.
* Exit with non-zero status if any files specified could not be openedtjr2002-05-241-9/+15
| | | | when -s option is given (SUSv3).
* Clean up malloc(3)'s argument. Remove casts which do nothing when we'rejmallett2002-05-171-2/+2
| | | | | | | using sizeof() anyway. Use slightly more consistent (per-file) error reporting for malloc(3) returning NULL. If "malloc failed" was being printed, don't use err(3). If a NULL format is being used, use err(3). In one case errx(3) was being used with strerror(3), so just use err(3).
* More low hanging warnings fruit; ANSIfy, de-register, constify.markm2002-04-281-19/+17
|
* remove __Pimp2002-03-221-4/+4
|
* When invoked with no file arguments, display usage.mike2002-03-201-4/+7
| | | | | | | Submitted by: Tim J. Robbins <tim@robbins.dropbear.id.au> PR: 36074 Use new ID scheme.
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
|
* Add #include <stdlib.h> to get prototype for malloc(). Without this,jb1998-02-201-1/+2
| | | | | the compiler assumes an int return. On alpha this is enough to ruin ya day.
* Remove bogus malloc() decl.asami1997-08-051-2/+2
|
* Use err(3). Add prototypes. Silent -Wall.charnier1997-07-311-36/+34
|
* compare return value from getopt against -1 rather than EOF, per the finalimp1997-03-291-1/+1
| | | | posix standard on the topic.
* BSD 4.4 Lite Usr.bin Sourcesrgrimes1994-05-271-0/+251
OpenPOWER on IntegriCloud