fts_read: Handle error from a NULL return better.This is addressing cases such as fts_read(3) encountering an [EIO]from fchdir(2) when FTS_NOCHDIR is not set. That would otherwise beseen as a su
fts_read: Handle error from a NULL return better.This is addressing cases such as fts_read(3) encountering an [EIO]from fchdir(2) when FTS_NOCHDIR is not set. That would otherwise beseen as a successful traversal in some of these cases while silentlydiscarding expected work.As noted in r264201, fts_read() does not set errno to 0 on a successfulEOF so it needs to be set before calling it. Otherwise we might seea random error from one of the iterations.gzip is ignoring most errors and could be improved separately.Reviewed by: vangyzenSponsored by: Dell EMCDifferential Revision: https://reviews.freebsd.org/D27184
show more ...
mtree(8): add xref to mtree(5)mtree(5) and mtree(8) come from different contrib sources. The formeralready had an xref to the latter, but not the other way around.MFC after: 1 week
mtree -O: Fix not descending on hash collisionsMFC after: 2 weeksObtained from: NetBSD (nakayama)
mtree -c: Fix username logic when getlogin(3) fails.Obtained from: NetBSD (Credit to Sascha Wildner with DragonFlyBSD)MFC after: 2 weeks
mtree: Fix -f -f not considering type changes.This only lists the changed type and not other attributes so that itmatches the behavior of -C as done in r66747 for fmtree. The NetBSD-ff implementa
mtree: Fix -f -f not considering type changes.This only lists the changed type and not other attributes so that itmatches the behavior of -C as done in r66747 for fmtree. The NetBSD-ff implementation was copied from fmtree.Reviewed by: impMFC after: 2 weeksRelnotes: yesDifferential Revision: https://reviews.freebsd.org/D21623
Use type-independent formats for printing nlink_t and ino_t.Extracted from: ino64 work by gleb, mckusickDiscussed with: mckusickSponsored by: The FreeBSD FoundationMFC after: 1 week
Import in latest mtree from NetBSD to fix a bug in parsing group filesthat jmg fixed upstream.MFC after: 1 weekSponsored by: DARPA, AFRL
Sync with NetBSD. The funtional change is to make the output whencomparing a directory to an mtree file more compatible with fmtree whenFreeBSD 9 compatiblity mode is on. This output is clearly i
Sync with NetBSD. The funtional change is to make the output whencomparing a directory to an mtree file more compatible with fmtree whenFreeBSD 9 compatiblity mode is on. This output is clearly intended forhumans not computers, but some tools such as mergemaster's -U option relyon it.MFC after: 3 days
Upgrade to the latest version of mtree from NetBSD. This revisionre-removes the printing of size for non-regular files, supportstype-less root (.) entries as seen in a couple ports, and corrects a
Upgrade to the latest version of mtree from NetBSD. This revisionre-removes the printing of size for non-regular files, supportstype-less root (.) entries as seen in a couple ports, and corrects a bugin -N that caused expanded Subversion $FreeBSD$ strings in comments tobe processed as /etc/group entries.Includes one trivial portability fix (including <stdint.h> in threefiles) that has been submitted upstream but not yet committed.MFC after: 3 days
Import a new version of NetBSD's mtree.This version of mtree implements a new flag (-O) that can be used torestrict the tool to certain pathnames. Also, it fixes a compilerwarning generated by -W
Import a new version of NetBSD's mtree.This version of mtree implements a new flag (-O) that can be used torestrict the tool to certain pathnames. Also, it fixes a compilerwarning generated by -Wmissing-variable-declarations.Acked by: brooks
Add NetBSD's mtree to the tree and install it as nmtree as the first steptowards replacing our mtree.Sponsored by: DARPA, AFRLThanks to: cristos@NetBSD for reviewing and committing my patches w
Add NetBSD's mtree to the tree and install it as nmtree as the first steptowards replacing our mtree.Sponsored by: DARPA, AFRLThanks to: cristos@NetBSD for reviewing and committing my patches wiz@NetBSD for fixing typos in my patches