Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Use fgetln(3) to handle lines of unlimited length instead of a | tjr | 2002-05-24 | 1 | -15/+15 |
| | | | | | | getc/putc loop. Suggested by: dd | ||||
* | P1003.2 forbids imposing any limit on line lengths; read character by | tjr | 2002-05-24 | 1 | -24/+22 |
| | | | | character instead of manually buffering each line. | ||||
* | Exit with non-zero status if any files specified could not be opened | tjr | 2002-05-24 | 1 | -9/+15 |
| | | | | when -s option is given (SUSv3). | ||||
* | Clean up malloc(3)'s argument. Remove casts which do nothing when we're | jmallett | 2002-05-17 | 1 | -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. | markm | 2002-04-28 | 1 | -19/+17 |
| | |||||
* | remove __P | imp | 2002-03-22 | 1 | -4/+4 |
| | |||||
* | When invoked with no file arguments, display usage. | mike | 2002-03-20 | 1 | -4/+7 |
| | | | | | | | Submitted by: Tim J. Robbins <tim@robbins.dropbear.id.au> PR: 36074 Use new ID scheme. | ||||
* | $Id$ -> $FreeBSD$ | peter | 1999-08-28 | 1 | -1/+1 |
| | |||||
* | Add #include <stdlib.h> to get prototype for malloc(). Without this, | jb | 1998-02-20 | 1 | -1/+2 |
| | | | | | the compiler assumes an int return. On alpha this is enough to ruin ya day. | ||||
* | Remove bogus malloc() decl. | asami | 1997-08-05 | 1 | -2/+2 |
| | |||||
* | Use err(3). Add prototypes. Silent -Wall. | charnier | 1997-07-31 | 1 | -36/+34 |
| | |||||
* | compare return value from getopt against -1 rather than EOF, per the final | imp | 1997-03-29 | 1 | -1/+1 |
| | | | | posix standard on the topic. | ||||
* | BSD 4.4 Lite Usr.bin Sources | rgrimes | 1994-05-27 | 1 | -0/+251 |