summaryrefslogtreecommitdiffstats
path: root/usr.bin/cksum/cksum.c
Commit message (Collapse)AuthorAgeFilesLines
* ANSIify function definitions to avoid a warning.dwmalone2002-07-281-4/+2
|
* Consistently use FBSDIDobrien2002-06-301-2/+2
|
* remove __Pimp2002-03-221-3/+3
|
* WARNS=2 fixup.markm2001-12-021-1/+1
| | | | kill 'register' keyword.
* Include missing header files which define functions for which gcc hasdd2001-06-241-0/+1
| | | | builtins (e.g., exit, strcmp).
* Minimal use of .Ar and .Nm.charnier1999-12-051-5/+2
| | | | | | | | 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.
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
|
* cksum does a 32-bit checksum, so it needs to use u_int32_t variables,jb1998-03-101-4/+4
| | | | | 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.
* Need to skip argv[0] when we are named "sum".obrien1997-11-091-1/+2
|
* When called "sum", it is not documented as accepting any arguments.obrien1997-11-091-23/+23
|
* Add canonical 32bit crc as alorithm 3.phk1997-09-261-1/+4
| | | | | | PR: 4615 Reviewed by: phk Submitted by: Mike Meyer <mwm@shiva.the-park.com>
* Default to `cksum' instead of to `sum' for unusual program names.bde1997-07-061-7/+10
| | | | Mention `sum' in the usage message.
* Merge from Lite2 (make the command `sum' an alias for `cksum -o 1', andbde1997-07-061-10/+21
| | | | reject -o args other than "1" or "2").
* Update manpage to newer version. Use err(3).charnier1997-06-251-10/+10
|
* compare return value from getopt against -1 rather than EOF, per the finalimp1997-03-291-1/+1
| | | | posix standard on the topic.
* BSD 4.4 Lite Usr.bin Sourcesrgrimes1994-05-271-0/+124
OpenPOWER on IntegriCloud