From 33b85e1f8769e7f75721887638ae454d109a034f Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Mon, 8 Jul 2024 13:15:37 -0400 Subject: Implement POSIX 2024's -mount This reverts commit 4f80c17192f2b28c96a489969d4435151d68d0ce. Link: https://www.austingroupbugs.net/view.php?id=1133 --- src/parse.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/parse.c') 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; } -- cgit v1.2.3