Tim J. Robbins
be1e385e24
Avoid passing negative values to tolower() on machines with signed chars.
2004-07-19 12:57:24 +00:00
Juli Mallett
f201bc9c84
Back out my minorly disputed and possibly not well thought out changes to how
...
arguments are processed, at least temporarily.
2002-07-01 18:03:30 +00:00
David E. O'Brien
e026a48c34
Consistently use FBSDID
2002-06-30 05:25:07 +00:00
Juli Mallett
21e21aad32
Increment morefiles, balance braces. This should really be using getopt(3).
2002-06-27 21:11:19 +00:00
Juli Mallett
f63eec78e4
Instead of not using argc and doing other great evil, check for no arguments
...
in main() and print usage, or if there are too many arguments, handle that
there, too.
2002-06-27 21:01:32 +00:00
Mike Barcroft
b5b9b43078
Constify, staticize, and set WARNS=2.
...
MFC after: 3 days
2001-08-06 23:20:06 +00:00
Mike Heffner
8ecfa0142f
Fix style(9) bugs from previous commit: remove space after function
...
names and revert to char *[].
bde by: bde, imp
2001-02-08 20:15:59 +00:00
Mike Heffner
7a536c3b41
De-__P()-ify, convert K&R style declarations to ANSI ones
2001-02-08 05:58:55 +00:00
Mike Heffner
aeacf525ad
Prevent string overflows by using safer string functions
...
Use tolower() rather than bit or-ing
Sanity check user specified printf() format
Exit when too many input files are given
Remove register from variables
Reviewed by: markm, imp
2001-02-08 05:33:19 +00:00
Kris Kennaway
0c4d24a78f
Don't call err() with no format string.
2000-07-10 09:14:15 +00:00
Peter Wemm
c3aac50f28
$Id$ -> $FreeBSD$
1999-08-28 01:08:13 +00:00
Philippe Charnier
df8996586c
Use err(3) instead of local redefintion. Add usage() as a separate
...
function. Rewrote man page in mdoc format.
1997-07-18 06:43:15 +00:00
Rodney W. Grimes
9b50d90275
BSD 4.4 Lite Usr.bin Sources
1994-05-27 12:33:43 +00:00