projects
/
paraslash.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
be557cb
)
com_ls: Don't use FNM_PATHNAME.
author
Andre Noll
<maan@systemlinux.org>
Sat, 29 Sep 2007 13:30:06 +0000
(15:30 +0200)
committer
Andre Noll
<maan@systemlinux.org>
Sat, 29 Sep 2007 13:30:06 +0000
(15:30 +0200)
It's just annoying.
aft.c
patch
|
blob
|
history
diff --git
a/aft.c
b/aft.c
index c5effc66e68cce996dc99260b7f8da843a985532..9e4fec288d63e84c8c05139f727516a1a5ca4f43 100644
(file)
--- 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)