| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
| |
today's modern "no sir, not today" compilers.
Basically, when building the table:
use NULL instead of 0,
use braces around array initializers,
case the function pointers to xdrproc_t,
don't cast function pointers that do not need casting.
MFC After: 1 week
|
|
|
|
| |
Submitted by: Max Okumoto <okumoto@ucsd.edu>
|
|
|
|
| |
Submitted by: Max Okumoto <okumoto@ucsd.edu>
|
|
|
|
|
|
|
| |
itself. This will ease constification (think of what 'const Ptr foo'
means if Ptr is a pointer to a struct).
Submitted by: Max Okumoto <okumoto@ucsd.edu>
|
|
|
|
| |
parameter for -lang is missing.
|
|
|
|
|
|
|
| |
double documentation comments. Remove the 3rd clause (from 4) of the
BSD license because these files have only the UCB copyright.
Submitted by: Max Okumoto <okumoto@ucsd.edu>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
that get included just where they are needed. All headers include the
headers that they need to compile (just with an empty .c file). Sort
includes alphabetically where apropriate and fix some duplicate commenting
for struct Job, struct GNode and struct Shell by removing one version and
inlining the comments into the structure declaration (the comments have been
somewhat outdated).
This patch does not contain functional changes (checked with md5).
Submitted by: Max Okumoto <okumoto@ucsd.edu>
|
|
|
|
| |
Submitted by: "Mark W. Krentel" <krentel@dreamscape.com>
|
|
|
|
|
|
|
| |
Sanity-check fd_lastfile.
PR: 62699
Patch by: "Mark W. Krentel" <krentel@dreamscape.com>
|
| |
|
| |
|
|
|
|
|
|
|
| |
Add a table with the different types of operations traced.
Reviewed by: Ruslan Ermilov
Approved by: Robert Watson (mentor)
|
|
|
|
|
|
| |
bsd.*.mk infrasture.
Obtained from: ru
|
|
|
|
|
|
|
|
|
|
| |
and tabs. This is still not correct for command line variable values
ending in a backslash because this would require a larger effort.
Document this limitation in the BUGS section of the man page. The
quoting is mostly compatible with that of gmake and smake.
Tested by: Max Okumoto and Joerg Sonnenberger from DragonFly BSD
Reviewed by: ru (man page, partly)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
suggestions which result in the last revision[*]:
- style(9) and sysexits(3) suggests that we use EX_*
as exit values, instead of some other values like
those returned from a system call as errno.
Additionally, follow Ruslan's suggestion about style(9) and
other style improvements:
- Since open(2) says that it returns -1 on errors,
explicitly determine whether it is returning -1
rather than whether the return value is less than
zero.
- Only set rval when there is no previous error.
This distinguishes the first error that occours.
- Use exit() in favor of return in main(), this is
suggested in old style(9), while the evolve has
fade the suggestion.
- Add some NOTREACHED comments.
- Add blank line after first { because no local variables
in usage()
Thanks to Ruslan for his tireless explaining of the code standards
and knowledge of the history of style(9).
[*] Pointy hat to: me
Submitted by: ru (with some minor changes)
Discussed with: ru, ssouhlal
|
|
|
|
|
|
| |
Requested by: delphij
Reviewed by: simon, ru
Approved by: grehan (mentor)
|
|
|
|
|
|
| |
Suggested by: delphij
Reviewed by: delphij
Approved by: grehan (mentor)
|
| |
|
| |
|
|
|
|
|
|
| |
- Add WARNS?= 6
Approved by: stefanf, grehan (mentor)
|
|
|
|
|
|
|
| |
- Add WARNS?= 6 to Makefile
Submitted by: Liam J. Foy <liamfoy@gmail.com>
Approved by: grehan (mentor)
|
|
|
|
|
|
|
| |
- Add WARNS?= 6
Submitted by: Liam J. Foy <liamfoy@gmail.com>
Approved by: stefanf, grehan (mentor)
|
|
|
|
|
|
| |
- Bump to WARNS?= 6
Approved by: stefanf, grehan (mentor)
|
| |
|
|
|
|
| |
Approved by: ru
|
|
|
|
|
|
| |
WARNS?= should appear before CFLAGS
Reviewed by: ru
|
|
|
|
|
|
|
|
| |
Without this change, when running netstat with a kernel without
INET6 built in, you will get a complain at the end of "netstat -s"
output.
X-MFC: NO_INET6 was called "NOINET6" on RELENG_5
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
the user indicating that su is not running setuid, which may help
suggest to the user that it should be setuid, or should not be
running from a file system mounted nosuid.
Suggsted by: Ivan Voras <ivoras at fer dot hr>
MFC after: 2 weeks
|
|
|
|
|
| |
- Change signedness of nxtfld() to make msgs(1) WARNS=6 clean
- Add several static's
|
|
|
|
| |
to NULL at start.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
PR: 75028
Submitted by: mteterin at 250-217 dot customer dot cloud9 dot net
MFC after: 7 days
|
|
|
|
|
|
|
|
|
|
|
| |
Nowadays, f_data points to the vnode only if the underlying filesystem
doesn't use it for other purposes (devfs uses it to store the cdev,
for example).
Found by: csjp
Reviewed by: csjp
Approved by: phk, wes, grehan (mentor)
MFC after: 1 week
|
| |
|
|
|
|
| |
(This exposes a bug in mdoc(7) for which a patch has been sent upstream.)
|
| |
|
|
|
|
| |
Use %ld and intmax_t for printing an off_t.
|
|
|
|
|
|
|
| |
file. Remove the now redundant declarations.
Add declarations for the new show and set_events functions and make
them static.
|
|
|
|
|
|
|
|
|
|
|
|
| |
'fts_number' to remember number of blocks.
This makes du(1) 64bit-clean.
This work is part of the BigDisk project:
http://www.FreeBSD.org/projects/bigdisk/
Discussed on: arch@
MFC after: 5 days
|
|
|
|
| |
Reviewed by: mux (mentor)
|
|
|
|
| |
LIST_FOREACH() is difficult to use correctly, so don't try to.
|