From: Andre Noll Date: Sat, 29 Sep 2007 13:30:06 +0000 (+0200) Subject: com_ls: Don't use FNM_PATHNAME. X-Git-Tag: v0.3.0~322 X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=commitdiff_plain;h=b58faecc81c50be4723e973dcf9a65140d30e037 com_ls: Don't use FNM_PATHNAME. It's just annoying. --- 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)