From b58faecc81c50be4723e973dcf9a65140d30e037 Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Sat, 29 Sep 2007 15:30:06 +0200 Subject: [PATCH] com_ls: Don't use FNM_PATHNAME. It's just annoying. --- aft.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aft.c b/aft.c index c5effc66..9e4fec28 100644 --- a/aft.c +++ b/aft.c @@ -1017,7 +1017,7 @@ static int prepare_ls_row(struct osl_row *row, void *ls_opts) } if (options->num_patterns) { for (i = 0; i < options->num_patterns; i++) { - ret = fnmatch(options->patterns[i], path, FNM_PATHNAME); + ret = fnmatch(options->patterns[i], path, 0); if (!ret) break; if (ret == FNM_NOMATCH) -- 2.39.5