Mark Murray
3fa15ce5d8
WARNS=2 fixup.
...
kill 'register' keyword.
2001-12-02 12:54:40 +00:00
Dima Dorfman
7a19d1bbb9
Include missing header files which define functions for which gcc has
...
builtins (e.g., exit, strcmp).
2001-06-24 19:50:42 +00:00
Philippe Charnier
f74fd6ec7a
Minimal use of .Ar and .Nm.
...
Add section number to .Xr reference.
Add DIAGNOSTICS section name.
Remove unused #includes.
Be consistant in the parsing of flags and add missing option in usage string.
Add rcsid.
1999-12-05 20:03:22 +00:00
Peter Wemm
c3aac50f28
$Id$ -> $FreeBSD$
1999-08-28 01:08:13 +00:00
John Birrell
4933ffaed9
cksum does a 32-bit checksum, so it needs to use u_int32_t variables,
...
not u_long. With this change, cksum stops core dumping on alpha (not
a good sign!) and actually computes the same values as it does on i386.
1998-03-10 05:03:49 +00:00
David E. O'Brien
8f31d7ef70
Need to skip argv[0] when we are named "sum".
1997-11-09 05:47:55 +00:00
David E. O'Brien
d40fea8c06
When called "sum", it is not documented as accepting any arguments.
1997-11-09 05:35:26 +00:00
Poul-Henning Kamp
68d8bb3893
Add canonical 32bit crc as alorithm 3.
...
PR: 4615
Reviewed by: phk
Submitted by: Mike Meyer <mwm@shiva.the-park.com>
1997-09-26 08:02:18 +00:00
Bruce Evans
f3aad83afd
Default to cksum' instead of to
sum' for unusual program names.
...
Mention `sum' in the usage message.
1997-07-06 03:18:13 +00:00
Bruce Evans
2cbd69330d
Merge from Lite2 (make the command sum' an alias for
cksum -o 1', and
...
reject -o args other than "1" or "2").
1997-07-06 03:03:10 +00:00
Philippe Charnier
f8a42d82e9
Update manpage to newer version. Use err(3).
1997-06-25 07:02:03 +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
9b50d90275
BSD 4.4 Lite Usr.bin Sources
1994-05-27 12:33:43 +00:00