search for: wild_match

Displaying 1 result from an estimated 1 matches for "wild_match".

Did you mean: find_match
2002 May 07
0
Fixing exclude/exclude wildcard handling
...nt tested; - if (!tested) { - tested = 1; - if (fnmatch("a/b/*", "a/b/c/d", FNM_PATHNAME)==0) { - rprintf(FERROR,"WARNING: fnmatch FNM_PATHNAME is broken on your system\n"); - } - } - ret->fnmatch_flags = 0; - } + ret->wild_match = 1; } if (strlen(pattern) > 1 && pattern[strlen(pattern)-1] == '/') { @@ -107,10 +96,10 @@ pattern++; } - if (ex->regular_exp) { - if (fnmatch(pattern, name, ex->fnmatch_flags) == 0) { + if (ex->wild_match) { + if (match_start? wildmat(name, pattern) +...