| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
Sort standard sections in the (documented) preferred order.
|
| |
|
|
|
|
| |
OK'ed by: imp, core
|
| |
|
|
|
|
|
|
|
| |
handles them.
Reviewed by: audit
MFC after: 2 weeks
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
order, as required by style(9). Document the effect of the -f option
on exit status. Fixed some spacing.
Submitted by: bde
Approved by: re
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
Reviewed by: freebsd-standards
PR: 40709
Submitted by: Edward Brocklesby <nighthawk@unrealircd.com>, johan
|
|
|
|
| |
src/contrib/gcc/c-format.c .
|
|
|
|
|
|
|
| |
part of chmod(2) and sticky(8), but refer to those manpages instead.
PR: docs/35605
Submitted by: Gary W. Swearingen <swear@blarg.net>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
arg 2 to err() and friends, and warnings are promoted to errors.
This allows the following revisions to be reverted:
rev 1.39 src/bin/cp/cp.c
rev 1.26 src/bin/chmod/chmod.c
rev 1.40 src/bin/rm/rm.c
The following revisions can already be reverted, because they were
already covered by WFORMAT=0:
rev 1.8 src/bin/ls/lomac.c
rev 1.63 src/bin/ls/ls.c
rev 1.8 src/bin/ps/lomac.c
rev 1.34 src/bin/rcp/rcp.c
|
|
|
|
| |
happy about it any more so change the useage so buildworld works again.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
o __P has been reoved
o Old-style K&R declarations have been converted to new C89 style
o register has been removed
o prototype for main() has been removed (gcc3 makes it an error)
o int main(int argc, char *argv[]) is the preferred main definition.
o Attempt to not break style(9) conformance for declarations more than
they already are.
Approved by: arch@, new style(9)
|
|
|
|
|
|
|
| |
file.
PR: docs/34224
Submitted by: "Gary W. Swearingen" <swear@blarg.net>
|
|
|
|
|
|
| |
set WARNS=0.
Reviewed by: mike
|
| |
|
| |
|
|
|
|
| |
Submitted by: Mike Barcroft <mike@q9media.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
``chown -h owner symlink'' did not set the symlink's owner
if the file the symlink points to already had that owner:
# ls -l alink afile
-rw-r--r-- 1 nobody ru 0 May 31 14:14 afile
lrwxr-xr-x 1 root ru 5 May 31 14:14 alink -> afile
# ./chown -h -v nobody alink
# ls -l alink afile
-rw-r--r-- 1 nobody ru 0 May 31 14:14 afile
lrwxr-xr-x 1 root ru 5 May 31 14:14 alink -> afile
Similarly for chgrp(1) and chmod(1).
|
|
|
|
|
|
|
| |
is changed if -h option is given.
Requested by: bde
Obtained from: NetBSD (code part)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is required by symlink(7), ``Commands not traversing a file tree''
subsection, third paragraph:
: It is important to realize that this rule includes commands which may
: optionally traverse file trees, e.g. the command ``chown file'' is
: included in this rule, while the command ``chown -R file'' is not.
For chown(8) and chgrp(1), this is also is compliance with the latest
POSIX 1003.1-200x draft.
MFC after: 1 week
|
|
|
|
| |
PR: docs/27629
|
| |
|
|
|
|
|
|
|
| |
isn't.
Obtained from: NetBSD
Confirmed by: ru, wollman
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
although it
would be difficult both technically and in practise.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Three minor changes to the manpage of chmod(1).
1. At the description of -H option, I added that symlinks are
not followed _by default_ to show that links can be followed,
but the default chmod behavior is not to do so.
2. Moved a misplaced .Va file command up to the place it belongs.
3. Simplified the grammar that describes symbolic modes.
PR: 16749
Submitted by: Giorgos Keramidas <keramida@ceid.upatras.gr>
|
|
|
|
| |
Fix usage() style bug spotted by BDE.
|
| |
|
| |
|
|
|
|
| |
particular.
|
| |
|
|
|
|
|
| |
-f Do not display a diagnostic message if chmod could not modify the
mode for file.
|
|
|
|
| |
Submitted by: Philippe Charnier <charnier@xp11.frmug.org>
|
|
|
|
| |
Obtained from: OpenBSD
|
|
|
|
|
| |
Submitted by: Josh Gilliam <josh@quick.net>
PR: 6634
|
| |
|