| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
| |
specification, but not in the file hierarchy.
PR: bin/99531
Submitted by: skv
Obtained from: NetBSD, originally from Ed Symanzik
Regress. test: test/test05.sh
MFC after: 1 month
|
|
|
|
|
|
|
|
|
|
|
| |
change the permissions. Failures are still recorded.
This allows mtree to do a generally better job of things when uid != 0.
Sponsored by: ActiveState/Sophos
Partially submitted by: neilw at ActiveState dot com
Reviewed by: neilw at ActiveState dot com
MFC after: 3 weeks
|
|
|
|
|
|
|
|
| |
that have at least 3 characters.
MFC after: 1 week
Thanks to: Music band ``Chingon''
for keeping me company while searching for these.
|
|
|
|
| |
Approved by: re (blanket)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
sha512, I did not do that since it is not entirely clear where "the one
true place" to hold their implementations is going to be. Sha256 is
different since mtree already links against libmd.
Make recommended procedure for integrity checking in the manpage
consistent.
Fix a bug with -f spec1 -f spec2 comparison, which prevented
test/tes03.sh from running successfully.
Reviewed by: phk, cperciva
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
(with permission of addtional copyright holders where appropriate)
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Trim whitespace at EOL.
|
|
|
|
|
| |
Add -w(arning) flag which makes failure to look up uid/gid
a nonfatal warning instead of an error.
|
|
|
|
| |
type checking. No bugs found.
|
| |
|
|
|
|
|
|
|
| |
victim of the special sort order employed where files come before
directories and alphabetic inside these two groups.
Approved by: re@
|
|
|
|
| |
Approved by: re@
|
|
|
|
| |
comparing two spec files.
|
| |
|
|
|
|
| |
the two specifications to each other.
|
|
|
|
| |
explicit file descriptor instead of assuming stdin.
|
|
|
|
| |
return to eliminate some else clauses and gain some "outdenting".
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
depending on namespace pollution in <sys/stat.h> for the declarations of
struct timeval and utimes().
Fixed some style bugs in rev.1.30 and some nearby style bugs (mainly
unsorting and missing or extra blank lines).
Removed a wrong comment that was obtained from NetBSD in rev.1.14. It said
that chflags() reset the times that were set "above" by utimes(), but
utimes wasn't "above" in FreeBSD until rev.1.30, and chflags() does't
actually reset the times.
|
|
|
|
|
| |
Submitted by: Dan Nelson <dnelson@allantgroup.com>
PR: 53063
|
| |
|
|
|
|
| |
Make vis(3) decode errors fatal for both symlink targets and fienames.
|
| |
|
|
|
|
|
|
|
|
| |
names containing glob(3) expressions would appear verbatim in the
output.
If such an mtree file were used by mtree in update mode, wrong things
would happen.
|
| |
|
|
|
|
| |
Remove trailing whitespace.
|
|
|
|
| |
Use newspeak functions definitions.
|
| |
|
| |
|
|
|
|
| |
MFC After: 2 weeks
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
how `crc' is actually defined.
- Remove an unnecessary `extern' variable declaration.
Data type corrections:
- Define a variable which contains a file byte offset value as type
off_t as required by the `crc' function.
- Change the type of a variable carrying a CRC checksum from `u_long'
to `uint32_t'.
- Substitute the wrong `extern' variable declaration of `crc_total'
by putting a correct one in the shared header extern.h.
`crc_total' is defined as an `uint32_t', thus fixing
incorrect mtree checksums on big-endian LP64 machines.
|
|
|
|
|
| |
Reviewed by: phk
MFC After: 3 weeks
|
|
|
|
| |
Approved by: re
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
hack, thereby allowing future extensions to the structure (e.g., for extended
attributes) without rebreaking the ABI. FTSENT now contains a pointer to the
parent stream, which fts_compar() can then take advantage of, avoiding the
undefined behavior previously warned about. As a consequence of this change,
the prototype of the comparison function passed to fts_open() has changed
to reflect the required amount of constness for its use. All callers in the
tree are updated to use the correct prototype.
Comparison functions can now make use of the new parent pointer to access
the new stream-specific private data pointer, which is intended to assist
creation of reentrant library routines which use fts(3) internally.
Not objected to in spirit by: -arch
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|