Displaying 3 results from an estimated 3 matches for "fnmatch_flag".
Did you mean:
fnmatch_flags
2002 May 07
0
Fixing exclude/exclude wildcard handling
..., tok)) break;
}
free(users);
Index: exclude.c
--- exclude.c 2002/04/11 02:25:53 1.44
+++ exclude.c 2002/05/08 04:19:50
@@ -55,18 +55,7 @@
if (!ret->pattern) out_of_memory("make_exclude");
if (strpbrk(pattern, "*[?")) {
- ret->regular_exp = 1;
- ret->fnmatch_flags = FNM_PATHNAME;
- if (strstr(pattern, "**")) {
- static int 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&qu...
2002 Nov 11
0
Regular Expression support
...t->use_real_regexp = regexp;
}
ret->pattern = strdup(pattern);
if (!ret->pattern) out_of_memory("make_exclude");
+ if (!ret->use_real_regexp) {
if (strpbrk(pattern, "*[?")) {
- ret->regular_exp = 1;
+ ret->fnmatch = 1;
ret->fnmatch_flags = FNM_PATHNAME;
if (strstr(pattern, "**")) {
static int tested;
@@ -76,6 +85,7 @@
if (!strchr(ret->pattern,'/')) {
ret->local = 1;
}
+ }
return ret;
}
@@ -85,15 +95,86 @@
free(ex->pattern);
memset(ex,0,sizeof(*ex));
free(ex);
+...
2002 Apr 18
5
mixed case file systems.
I am having trouble with rsync when I am trying to synchronize a Windows NT
volume mounted with smb_fs (FreeBSD) and a unix volume which is also exported
with Samba.
There are instances where the DOS short name on the NT volume ends up as upper
case and then doesn't match filenames which are used in the unix volumes which
have been exported by Samba. I don't know if this is a Samba