Commit Graph

15 Commits

Author SHA1 Message Date
jb
3993727e63 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
alex
005e82d0d4 -Wall cleanup. 1997-12-29 00:09:06 +00:00
obrien
61fdf2fa6d Document the ``-o 3'' option.
The Man award to:	Jo"rg
1997-11-09 16:08:11 +00:00
obrien
2e4b81cf96 Need to skip argv[0] when we are named "sum". 1997-11-09 05:47:55 +00:00
obrien
2a24ee7edf When called "sum", it is not documented as accepting any arguments. 1997-11-09 05:35:26 +00:00
phk
f5b2fcb0c6 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
bde
c3956c3fb1 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
bde
1576c35fbe 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
bde
31a3731a3f 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
bde
a8de850f7b 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
charnier
a7f2d3da85 Update manpage to newer version. Use err(3). 1997-06-25 07:02:03 +00:00
jmg
728611a299 add md5(1) to SEE ALSO section.
Closes PR#3409
Submitted-by: Josh Gilliam
1997-04-29 08:41:26 +00:00
jmg
4deb06a037 `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
imp
141381e1cb 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
rgrimes
f9ab90d9d6 BSD 4.4 Lite Usr.bin Sources 1994-05-27 12:33:43 +00:00