summaryrefslogtreecommitdiffstats
path: root/eval.c
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2019-07-04 17:07:50 -0400
committerTavian Barnes <tavianator@tavianator.com>2019-07-04 17:07:50 -0400
commitd3e64d6e1f905cd67264845c38b38fc6d1bdb088 (patch)
tree52a303272ec29b520b7d9d1f0237290b1e38ab3d /eval.c
parent43039c98eb6bc2514434fe3b33faa3eb32e75ba3 (diff)
downloadbfs-d3e64d6e1f905cd67264845c38b38fc6d1bdb088.tar.xz
Make -mount and -xdev do different things
POSIX now says -mount should skip the whole mount point, while -xdev should only skip its descendents. C.f. http://austingroupbugs.net/view.php?id=1133 C.f. https://savannah.gnu.org/bugs/?42318 C.f. https://savannah.gnu.org/bugs/?54745
Diffstat (limited to 'eval.c')
-rw-r--r--eval.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/eval.c b/eval.c
index d89e62a..e2690c0 100644
--- a/eval.c
+++ b/eval.c
@@ -1300,6 +1300,7 @@ static void dump_bftw_flags(enum bftw_flags flags) {
DEBUG_FLAG(flags, BFTW_COMFOLLOW);
DEBUG_FLAG(flags, BFTW_LOGICAL);
DEBUG_FLAG(flags, BFTW_DETECT_CYCLES);
+ DEBUG_FLAG(flags, BFTW_MOUNT);
DEBUG_FLAG(flags, BFTW_XDEV);
assert(!flags);