| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
|
|
|
|
|
| |
PR: 27986
Submitted by: Cyrille Lefevre <clefevre@redirect.to>
|
|
|
|
| |
Submitted by: Alexey V. Neyman <avn@any.ru>
|
|
|
|
|
| |
While we're at it, this file seems to prefer `unsigned int'
over `u_int', so go with that.
|
|
|
|
| |
MFC after: 2 weeks
|
| |
|
|
|
|
|
|
| |
PR: bin/27240
Reviewed by: GAWollman
MFC after: 2 weeks
|
|
|
|
|
| |
PR: 24804
Submitted by: Mike Meyer <mwm@mired.org>
|
| |
|
|
|
|
|
|
|
|
| |
errexit (-e) processing. This solves a problem where 'make clean' would
fail with an unspecified error in certain automake-generated makefiles.
Reviewed by: no objections from -hackers...
MFC after: 2 weeks
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
``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).
|
|
|
|
|
|
|
|
|
|
| |
in okname() in util.c and second, returning != 0 when you do have an
error from okname in two places in rcp.c.
Thanks to Garrett for the POSIX defintion of valid login and group names.
PR: bin/25757
MFC after: 3 weeks
|
| |
|
|
|
|
| |
Also use sizeof(path) in preference to PATH_MAX.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
error caused by the -1 being on the wrong side of the comparison.
This would not cause an overflow, as near as I can tell, because we
truncate later anyway. We'd just fail to get a diagnostic for 1024
and 1025 byte file names.
|
|
|
|
|
| |
Also sort declarations per style(9) (big arrays come last) while I'm
in the area.
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
Reviewed by: bde
|
|
|
|
| |
PR: docs/27629
|
|
|
|
|
| |
PR: 27600
Submitted by: Iain Templeton <iain@ugh.net.au>
|
|
|
|
| |
MFC after: 1 week
|
|
|
|
| |
MFC after: 1 week
|
|
|
|
| |
MFC after: 1 week
|
|
|
|
| |
MFC After: 1 week
|
|
|
|
| |
MFC after: 1 week
|
|
|
|
| |
MFC After: 1 week
|
|
|
|
| |
MFC after: 1 week
|
|
|
|
| |
MFC After: 1 week
|
|
|
|
|
|
| |
warnings.
MFC after: 1 week
|
|
|
|
| |
MFC After: 1 week
|
|
|
|
| |
MFC After: 1 week
|
|
|
|
|
|
| |
because of that stupid mode_t warning bug.
MFC After: 1 week
|
| |
|
|
|
|
| |
Reviewed by: the great man himself (except alpha cleanups)
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
PR: bin/27399
Submitted by: "Crist J. Clark" <crist.clark@globalstar.com>
MFC after: 3 days
|
|
|
|
| |
strings.
|
|
|
|
|
|
| |
on unmounted non-UFS filesystem using '-t'
Submitted by: bde
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
and remove the setgid operator bit from the installed binary: if you want
to view free disk space on an unmounted device, you should have read
permissions to access it.
Reviewed by: phk
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
are:
* Implement cpio compatibility mode when pax is invoked as cpio
* Extend tar compatibility mode to cover many of the GNU tar single-letter
options (bzip2 mode, aka -y/-j is not present in OpenBSD). When
invoked as tar, pax is now full-featured enough for use by the ports
collection to extract distfiles and create packages.
* Many bug fixes to the operation of pax and the tar compatibility modes
* Code fixes for things like correct string buffer termination.
I tried to preserve existing FreeBSD fixes to this utility; please let me
know if I have inadvertently spammed something.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
and compress) to pax when used in tar mode (invoked as 'tar') for
compatibility with GNU tar.
bzip2 functionality for further GNU tar compatibility will be added at a
later date.
Note in the manpage that -z is non-standard.
Obtained from: OpenBSD
Reviewed by: -hackers
MFC after: 2 weeks
|