| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
| |
In addition to adding missing `static' keywords:
- bin/dd: Pull in `extern.h' to guarantee consistency with source file.
- libexec/rpc.rusersd: Move shared globals into an extern.h.
- libexec/talkd: Move `debug' and `hostname' into extern.h.
- usr.bin/cksum: Put counters in extern.h, as they are used by ckdist/mtree.
- usr.bin/m4: Move `end_result' into extern.h.
- usr.sbin/services_mkdb: Move shared globals into an extern.h.
|
|
|
|
|
|
|
|
|
|
| |
The index() and rindex() functions were marked LEGACY in the 2001
revision of POSIX and were subsequently removed from the 2008 revision.
The strchr() and strrchr() functions are part of the C standard.
This makes the source code a lot more consistent, as most of these C
files also call into other str*() routines. In fact, about a dozen
already perform strchr() calls.
|
|
|
|
|
|
|
|
|
| |
is in accordance with the information provided at
ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change
Also add $FreeBSD$ to a few files to keep svn happy.
Discussed with: imp, rwatson
|
|
|
|
| |
They have no effect when coming in pairs, or before .Bl/.Bd
|
|
|
|
| |
needed.
|
|
|
|
| |
Tested with: make universe
|
|
|
|
|
|
| |
PR: bin/93172
Submitted by: Robert Millan <rmh at aybabtu dot com>
MFC after: 1 week
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
| |
|
| |
|
|
|
|
| |
help the GCC3 transition and CURRENT in general.
|
|
|
|
| |
kill 'register' keyword.
|
| |
|
| |
|
| |
|
|
|
|
| |
builtins (e.g., exit, strcmp).
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
| |
that whatis(1) will produce the expected results.
Pointed-out-by: Jesus Monroy <jesus.monroy@usa.net> in freebsd-doc
|
| |
|
|
|
|
|
| |
PR: misc/7926
Submitted by: Sergey Potapov <sp@alkor.ru>
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
| |
The Man award to: Jo"rg
|
| |
|
| |
|
|
|
|
|
|
| |
PR: 4615
Reviewed by: phk
Submitted by: Mike Meyer <mwm@shiva.the-park.com>
|
|
|
|
| |
Mention `sum' in the usage message.
|
|
|
|
| |
reject -o args other than "1" or "2").
|
|\
| |
| |
| | |
which included commits to RCS files with non-trunk default branches.
|
| |
| |
| |
| | |
branch and will temporarily give bogus hard links cksum[.1] -> sum[.1].
|
| | |
|
| |
| |
| |
| |
| | |
Closes PR#3409
Submitted-by: Josh Gilliam
|
| |
| |
| |
| |
| | |
add missing Id's
other minor clean ups
|
|/
|
|
| |
posix standard on the topic.
|
|
|