summaryrefslogtreecommitdiffstats
path: root/usr.bin/cksum
Commit message (Collapse)AuthorAgeFilesLines
* - For variables holding offset values, use off_t rather thanrobert2003-03-137-41/+57
| | | | | | | | | | | | | | | | int, long int or u_int32_t. This changes the interface of all the CRC calculation and output functions from cksum. - Print variables of type off_t as intmax_t using a cast and %jd. - Use the standardized uint32_t type instead of u_int32_t. To have uint32_t defined, include <stdint.h> where necessary. Style(9): - Move #include directives where they belong (esp. crc32.c). - Add empty lines between #include directives of system headers, standard library headers and local headers. - Test a pointer value against NULL. - Put a space after the return keyword. PR: bin/48424
* ANSIify function definitions to avoid a warning.dwmalone2002-07-286-25/+9
|
* Consistently use FBSDIDobrien2002-06-306-14/+12
|
* remove __Pimp2002-03-222-10/+10
|
* Remove leaf node WARNS?=2 (that mainly I added). This shouldmarkm2002-02-081-1/+0
| | | | help the GCC3 transition and CURRENT in general.
* WARNS=2 fixup.markm2001-12-027-34/+44
| | | | kill 'register' keyword.
* mdoc(7) police: utilize the new .Ex macro.ru2001-08-151-5/+1
|
* Remove whitespace at EOL.dd2001-07-151-1/+1
|
* mdoc(7) police: removed HISTORY info from the .Os call.ru2001-07-101-1/+1
|
* Include missing header files which define functions for which gcc hasdd2001-06-241-0/+1
| | | | builtins (e.g., exit, strcmp).
* mdoc(7) police: Change -filled displays (which just happenru2001-02-071-1/+1
| | | | | | to be the same as -ragged in the current implementation) to -ragged. With mdocNG, -filled displays produce the correct output, formatted and justified to both margins.
* mdoc(7) police: fixed broken references.ru2001-01-161-1/+1
|
* Prepare for mdoc(7)NG.ru2000-12-271-8/+1
|
* Prepare for mdoc(7)NG.ru2000-12-191-1/+1
|
* mdoc(7) police: use the new features of the Nm macro.ru2000-11-201-1/+1
|
* Minimal use of .Ar and .Nm.charnier1999-12-057-20/+38
| | | | | | | | 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-282-2/+2
|
* Some man page cleanup. Make the NAME and SYNOPSIS sections agree sompp1999-06-241-2/+3
| | | | | | that whatis(1) will produce the expected results. Pointed-out-by: Jesus Monroy <jesus.monroy@usa.net> in freebsd-doc
* Tweaks to allow compiling -Wall (mostly adding "const" to char rcsid[]).archie1998-12-065-4/+5
|
* Avoid infinite loop if read() fails consistently.des1998-09-161-1/+1
| | | | | PR: misc/7926 Submitted by: Sergey Potapov <sp@alkor.ru>
* cksum does a 32-bit checksum, so it needs to use u_int32_t variables,jb1998-03-107-29/+31
| | | | | 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.
* -Wall cleanup.alex1997-12-291-2/+3
|
* Document the ``-o 3'' option.obrien1997-11-091-2/+9
| | | | The Man award to: Jo"rg
* 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-265-3/+127
| | | | | | 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-062-14/+37
| | | | reject -o args other than "1" or "2").
* This commit was generated by cvs2svn to compensate for changes in r27219,bde1997-07-061-1/+3
|\ | | | | | | which included commits to RCS files with non-trunk default branches.
| * Import Lite2's src/usr.bin/cksum. The Makefile is still on the vendorbde1997-07-063-22/+45
| | | | | | | | branch and will temporarily give bogus hard links cksum[.1] -> sum[.1].
* | Update manpage to newer version. Use err(3).charnier1997-06-252-19/+20
| |
* | add md5(1) to SEE ALSO section.jmg1997-04-291-1/+3
| | | | | | | | | | Closes PR#3409 Submitted-by: Josh Gilliam
* | ``appears'' -> ``appeared'' (closes PR#3393, Submitted-by: Josh Gilliam)jmg1997-04-271-6/+7
| | | | | | | | | | add missing Id's other minor clean ups
* | 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-278-0/+692
OpenPOWER on IntegriCloud