Commit graph

17 commits

Author SHA1 Message Date
Archie Cobbs
fa146c5335 Tweaks to allow compiling -Wall (mostly adding "const" to char rcsid[]). 1998-12-06 22:58:23 +00:00
Dag-Erling Smørgrav
d26060f2e6 Avoid infinite loop if read() fails consistently.
PR:		misc/7926
Submitted by:	Sergey Potapov <sp@alkor.ru>
1998-09-16 15:53:25 +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
Alexander Langer
d7d1005304 -Wall cleanup. 1997-12-29 00:09:06 +00:00
David E. O'Brien
c3855cb0e3 Document the ``-o 3'' option.
The Man award to:	Jo"rg
1997-11-09 16:08:11 +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
Bruce Evans
ee589d62ba This commit was generated by cvs2svn to compensate for changes in r27219,
which included commits to RCS files with non-trunk default branches.
1997-07-06 02:22:28 +00:00
Bruce Evans
2cad40fdac Import Lite2's src/usr.bin/cksum. The Makefile is still on the vendor
branch and will temporarily give bogus hard links cksum[.1] -> sum[.1].
1997-07-06 02:22:28 +00:00
Philippe Charnier
f8a42d82e9 Update manpage to newer version. Use err(3). 1997-06-25 07:02:03 +00:00
John-Mark Gurney
2c0d39ad75 add md5(1) to SEE ALSO section.
Closes PR#3409
Submitted-by: Josh Gilliam
1997-04-29 08:41:26 +00:00
John-Mark Gurney
93e0d62d1c `appears'' -> `appeared'' (closes PR#3393, Submitted-by: Josh Gilliam)
add missing Id's
other minor clean ups
1997-04-27 08:45:46 +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