Displaying 1 result from an estimated 1 matches for "wildmat_tail".
2002 May 07
0
Fixing exclude/exclude wildcard handling
...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)
+ : wildmat_tail(name, pattern))
return 1;
- }
} else {
int l1 = strlen(name);
int l2 = strlen(pattern);
Index: rsync.h
--- rsync.h 2002/04/11 02:18:51 1.131
+++ rsync.h 2002/05/08 04:19:51
@@ -173,11 +173,7 @@
#endif
#endif
-#ifdef HAVE_FNMATCH
-#include <fnmatch.h>
-#else
-#include "li...