Displaying 3 results from an estimated 3 matches for "slash_handl".
2006 Mar 17
0
Patch for 2.6.7 (affects --exclude used with --relative)
...It fixes a bug
where an absolute --exclude without wildcards would fail to match if
--relative is in effect.
--- exclude.c 28 Jan 2006 00:14:02 -0000 1.128
+++ exclude.c 13 Mar 2006 01:49:56 -0000
@@ -562,7 +562,7 @@ static int rule_matches(char *name, stru
if (litmatch_array(pattern, strings, slash_handling))
return ret_match;
} else if (anchored_match) {
- if (strcmp(name,pattern) == 0)
+ if (strcmp(strings[0], pattern) == 0)
return ret_match;
} else {
int l1 = strlen(name);
I'm anticipating that version 2.6.8 should be released in a week or two
to fix this bug and make any o...
2006 Mar 13
1
rsync 2.6.7 not excluding whole directories
I'm not sure if I was relying on unspecified behavior, but I was in the
habit of putting entries like this:
/home/tug/public_html
into an exclude file. This would omit everything under that directory.
(I'm not sure if it omitted the directory itself, but I didn't care.)
In rsync 2.6.7, this had no effect, and everything under
/home/tug/public_html was copied. I notice that a new
2006 Mar 17
0
Patch for 2.6.7 (affects --exclude used with --relative)
...It fixes a bug
where an absolute --exclude without wildcards would fail to match if
--relative is in effect.
--- exclude.c 28 Jan 2006 00:14:02 -0000 1.128
+++ exclude.c 13 Mar 2006 01:49:56 -0000
@@ -562,7 +562,7 @@ static int rule_matches(char *name, stru
if (litmatch_array(pattern, strings, slash_handling))
return ret_match;
} else if (anchored_match) {
- if (strcmp(name,pattern) == 0)
+ if (strcmp(strings[0], pattern) == 0)
return ret_match;
} else {
int l1 = strlen(name);
I'm anticipating that version 2.6.8 should be released in a week or two
to fix this bug and make any o...