summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2024-07-08 13:15:37 -0400
committerTavian Barnes <tavianator@tavianator.com>2024-07-08 13:15:37 -0400
commit33b85e1f8769e7f75721887638ae454d109a034f (patch)
treeaa4831407cdc1466c4071d0691941b96f81bd2a3 /src
parent0ad75059c70488e9802d716c9e2dc04ad7b1ea5a (diff)
downloadbfs-33b85e1f8769e7f75721887638ae454d109a034f.tar.xz
Implement POSIX 2024's -mount
This reverts commit 4f80c17192f2b28c96a489969d4435151d68d0ce. Link: https://www.austingroupbugs.net/view.php?id=1133
Diffstat (limited to 'src')
-rw-r--r--src/parse.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/parse.c b/src/parse.c
index 86ce72c..c225778 100644
--- a/src/parse.c
+++ b/src/parse.c
@@ -1694,10 +1694,7 @@ static struct bfs_expr *parse_mount(struct bfs_parser *parser, int arg1, int arg
return NULL;
}
- parse_expr_warning(parser, expr, "In the future, ${blu}%s${rs} will skip mount points entirely, unlike\n", expr->argv[0]);
- bfs_warning(parser->ctx, "${blu}-xdev${rs}, due to http://austingroupbugs.net/view.php?id=1133.\n\n");
-
- parser->ctx->flags |= BFTW_PRUNE_MOUNTS;
+ parser->ctx->flags |= BFTW_SKIP_MOUNTS;
parser->mount_arg = expr->argv;
return expr;
}