robert
790db710db
- For variables holding offset values, use off_t rather than
...
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
2003-03-13 23:32:28 +00:00
dwmalone
7e6edb2c7e
ANSIify function definitions to avoid a warning.
2002-07-28 15:13:17 +00:00
obrien
3cb8dae44d
Consistently use FBSDID
2002-06-30 05:25:07 +00:00
imp
0338ac6a1a
remove __P
2002-03-22 01:22:50 +00:00
markm
72f8b8d824
Remove leaf node WARNS?=2 (that mainly I added). This should
...
help the GCC3 transition and CURRENT in general.
2002-02-08 22:31:43 +00:00
markm
6ef2de5817
WARNS=2 fixup.
...
kill 'register' keyword.
2001-12-02 12:54:40 +00:00
ru
e6bcd7b5b8
mdoc(7) police: utilize the new .Ex macro.
2001-08-15 09:09:47 +00:00
dd
7d1013753f
Remove whitespace at EOL.
2001-07-15 08:06:20 +00:00
ru
ecbb298b07
mdoc(7) police: removed HISTORY info from the .Os call.
2001-07-10 14:16:33 +00:00
dd
2b75a1b683
Include missing header files which define functions for which gcc has
...
builtins (e.g., exit, strcmp).
2001-06-24 19:50:42 +00:00
ru
74ecc06fa7
mdoc(7) police: Change -filled displays (which just happen
...
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.
2001-02-07 13:45:30 +00:00
ru
cd914ddc3c
mdoc(7) police: fixed broken references.
2001-01-16 11:52:00 +00:00
ru
c357ba8f12
Prepare for mdoc(7)NG.
2000-12-27 16:52:31 +00:00
ru
655e7db87e
Prepare for mdoc(7)NG.
2000-12-19 16:00:12 +00:00
ru
0957874304
mdoc(7) police: use the new features of the Nm macro.
2000-11-20 19:21:22 +00:00
charnier
6e5dff908f
Minimal use of .Ar and .Nm.
...
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.
1999-12-05 20:03:22 +00:00
peter
e4b04a2b21
$Id$ -> $FreeBSD$
1999-08-28 01:08:13 +00:00
mpp
0fc7bcdcdf
Some man page cleanup. Make the NAME and SYNOPSIS sections agree so
...
that whatis(1) will produce the expected results.
Pointed-out-by: Jesus Monroy <jesus.monroy@usa.net> in freebsd-doc
1999-06-24 06:22:24 +00:00
archie
b24c3efc8e
Tweaks to allow compiling -Wall (mostly adding "const" to char rcsid[]).
1998-12-06 22:58:23 +00:00
des
34dbcd762f
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
jb
f473a5aa80
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
042be91253
-Wall cleanup.
1997-12-29 00:09:06 +00:00
obrien
a2777aa470
Document the ``-o 3'' option.
...
The Man award to: Jo"rg
1997-11-09 16:08:11 +00:00
obrien
87b92859f5
Need to skip argv[0] when we are named "sum".
1997-11-09 05:47:55 +00:00
obrien
26de66ab88
When called "sum", it is not documented as accepting any arguments.
1997-11-09 05:35:26 +00:00
phk
64f97001d5
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
6be61a7c42
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
7f47ba44de
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
8cfb3dd550
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
567a012c68
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
231345a255
Update manpage to newer version. Use err(3).
1997-06-25 07:02:03 +00:00
jmg
49dae0e421
add md5(1) to SEE ALSO section.
...
Closes PR#3409
Submitted-by: Josh Gilliam
1997-04-29 08:41:26 +00:00
jmg
68a3846d7e
`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
cd84ece5fd
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