Commit Graph

10 Commits

Author SHA1 Message Date
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