Ruslan Ermilov
f682f10c76
Sync program's usage() with manpage's SYNOPSIS.
2005-05-21 09:55:10 +00:00
Tim J. Robbins
be091cf3cc
Check for read errors.
2004-07-30 10:58:06 +00:00
Tim J. Robbins
e5afeeb3be
Add support for multibyte characters, based on Bruno Haible's work
...
in the util-linux package.
2004-07-29 22:51:54 +00:00
David Malone
f4ac32def2
ANSIify function definitions.
...
Add some constness to avoid some warnings.
Remove use register keyword.
Deal with missing/unneeded extern/prototypes.
Some minor type changes/casts to avoid warnings.
Reviewed by: md5
2002-09-04 23:29:10 +00:00
Philippe Charnier
93b0017f88
Replace various spelling with FALLTHROUGH which is lint()able
2002-08-25 13:23:09 +00:00
Warner Losh
3f330d7d1a
remove __P
2002-03-22 01:42:45 +00:00
David Malone
c83caf7b8d
Warns cleanups. Add FreeBSD ID to Makefile.
2001-12-03 21:37:35 +00:00
Kris Kennaway
3890f2357a
Don't coredump on long input lines. If anyone actually cares, this should
...
be fixed to actually process long lines instead of truncating them.
Obtained from: OpenBSD
2000-07-31 10:14:06 +00:00
Peter Wemm
c3aac50f28
$Id$ -> $FreeBSD$
1999-08-28 01:08:13 +00:00
Philippe Charnier
014927909d
Main() returns int.
1997-08-26 11:08:24 +00:00
Philippe Charnier
575580b202
Use err(3), add usage() and prototypes.
...
Move setmode() to setnewmode() because of a conflict with setmode(2 or 3).
1997-08-20 11:01:59 +00:00
Warner Losh
1c8af87873
compare return value from getopt against -1 rather than EOF, per the final
...
posix standard on the topic.
1997-03-29 04:34:07 +00:00
Rodney W. Grimes
7799f52a32
Remove trailing whitespace.
1995-05-30 06:41:30 +00:00
Rodney W. Grimes
9b50d90275
BSD 4.4 Lite Usr.bin Sources
1994-05-27 12:33:43 +00:00