summaryrefslogtreecommitdiff
path: root/usr.bin/cksum
Commit message (Collapse)AuthorAgeFilesLines
* Change a use of u_int32_t to uint32_t.Brooks Davis2008-05-151-1/+1
| | | | | | | | | PR: bin/93172 Submitted by: Robert Millan <rmh at aybabtu dot com> MFC after: 1 week Notes: svn path=/head/; revision=179024
* Added the EXIT STATUS section where appropriate.Ruslan Ermilov2005-01-171-1/+1
| | | | Notes: svn path=/head/; revision=140368
* - For variables holding offset values, use off_t rather thanRobert Drehmel2003-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 Notes: svn path=/head/; revision=112212
* ANSIify function definitions to avoid a warning.David Malone2002-07-286-25/+9
| | | | Notes: svn path=/head/; revision=100815
* Consistently use FBSDIDDavid E. O'Brien2002-06-306-14/+12
| | | | Notes: svn path=/head/; revision=99112
* remove __PWarner Losh2002-03-222-10/+10
| | | | Notes: svn path=/head/; revision=92920
* Remove leaf node WARNS?=2 (that mainly I added). This shouldMark Murray2002-02-081-1/+0
| | | | | | | help the GCC3 transition and CURRENT in general. Notes: svn path=/head/; revision=90415
* WARNS=2 fixup.Mark Murray2001-12-027-34/+44
| | | | | | | kill 'register' keyword. Notes: svn path=/head/; revision=87212
* mdoc(7) police: utilize the new .Ex macro.Ruslan Ermilov2001-08-151-5/+1
| | | | Notes: svn path=/head/; revision=81687
* Remove whitespace at EOL.Dima Dorfman2001-07-151-1/+1
| | | | Notes: svn path=/head/; revision=79755
* mdoc(7) police: removed HISTORY info from the .Os call.Ruslan Ermilov2001-07-101-1/+1
| | | | Notes: svn path=/head/; revision=79535
* Include missing header files which define functions for which gcc hasDima Dorfman2001-06-241-0/+1
| | | | | | | builtins (e.g., exit, strcmp). Notes: svn path=/head/; revision=78718
* mdoc(7) police: Change -filled displays (which just happenRuslan Ermilov2001-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. Notes: svn path=/head/; revision=72126
* mdoc(7) police: fixed broken references.Ruslan Ermilov2001-01-161-1/+1
| | | | Notes: svn path=/head/; revision=71107
* Prepare for mdoc(7)NG.Ruslan Ermilov2000-12-271-8/+1
| | | | Notes: svn path=/head/; revision=70410
* Prepare for mdoc(7)NG.Ruslan Ermilov2000-12-191-1/+1
| | | | Notes: svn path=/head/; revision=70197
* mdoc(7) police: use the new features of the Nm macro.Ruslan Ermilov2000-11-201-1/+1
| | | | Notes: svn path=/head/; revision=68963
* Minimal use of .Ar and .Nm.Philippe 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. Notes: svn path=/head/; revision=54162
* $Id$ -> $FreeBSD$Peter Wemm1999-08-282-2/+2
| | | | Notes: svn path=/head/; revision=50477
* Some man page cleanup. Make the NAME and SYNOPSIS sections agree soMike Pritchard1999-06-241-2/+3
| | | | | | | | | that whatis(1) will produce the expected results. Pointed-out-by: Jesus Monroy <jesus.monroy@usa.net> in freebsd-doc Notes: svn path=/head/; revision=48168
* Tweaks to allow compiling -Wall (mostly adding "const" to char rcsid[]).Archie Cobbs1998-12-065-4/+5
| | | | Notes: svn path=/head/; revision=41568
* Avoid infinite loop if read() fails consistently.Dag-Erling Smørgrav1998-09-161-1/+1
| | | | | | | | PR: misc/7926 Submitted by: Sergey Potapov <sp@alkor.ru> Notes: svn path=/head/; revision=39363
* cksum does a 32-bit checksum, so it needs to use u_int32_t variables,John Birrell1998-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. Notes: svn path=/head/; revision=34447
* -Wall cleanup.Alexander Langer1997-12-291-2/+3
| | | | Notes: svn path=/head/; revision=32069
* Document the ``-o 3'' option.David E. O'Brien1997-11-091-2/+9
| | | | | | | The Man award to: Jo"rg Notes: svn path=/head/; revision=31075
* Need to skip argv[0] when we are named "sum".David E. O'Brien1997-11-091-1/+2
| | | | Notes: svn path=/head/; revision=31056
* When called "sum", it is not documented as accepting any arguments.David E. O'Brien1997-11-091-23/+23
| | | | Notes: svn path=/head/; revision=31054
* Add canonical 32bit crc as alorithm 3.Poul-Henning Kamp1997-09-265-3/+127
| | | | | | | | | PR: 4615 Reviewed by: phk Submitted by: Mike Meyer <mwm@shiva.the-park.com> Notes: svn path=/head/; revision=29868
* Default to `cksum' instead of to `sum' for unusual program names.Bruce Evans1997-07-061-7/+10
| | | | | | | Mention `sum' in the usage message. Notes: svn path=/head/; revision=27223
* Merge from Lite2 (make the command `sum' an alias for `cksum -o 1', andBruce Evans1997-07-062-14/+37
| | | | | | | reject -o args other than "1" or "2"). Notes: svn path=/head/; revision=27222
* This commit was generated by cvs2svn to compensate for changes in r27219,Bruce Evans1997-07-061-1/+3
|\ | | | | | | | | | | | | which included commits to RCS files with non-trunk default branches. Notes: svn path=/head/; revision=27220
| * Import Lite2's src/usr.bin/cksum. The Makefile is still on the vendorBruce Evans1997-07-063-0/+317
| | | | | | | branch and will temporarily give bogus hard links cksum[.1] -> sum[.1]. Notes: svn path=/vendor/CSRG/dist/; revision=27219
* Update manpage to newer version. Use err(3).Philippe Charnier1997-06-252-19/+20
| | | | Notes: svn path=/head/; revision=26922
* add md5(1) to SEE ALSO section.John-Mark Gurney1997-04-291-1/+3
| | | | | | | | Closes PR#3409 Submitted-by: Josh Gilliam Notes: svn path=/head/; revision=25272
* ``appears'' -> ``appeared'' (closes PR#3393, Submitted-by: Josh Gilliam)John-Mark Gurney1997-04-271-6/+7
| | | | | | | | add missing Id's other minor clean ups Notes: svn path=/head/; revision=25189
* compare return value from getopt against -1 rather than EOF, per the finalWarner Losh1997-03-291-1/+1
| | | | | | | posix standard on the topic. Notes: svn path=/head/; revision=24360
* BSD 4.4 Lite Usr.bin SourcesRodney W. Grimes1994-05-278-0/+692
Notes: svn path=/cvs2svn/branches/CHRISTOS/; revision=1590