Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
38a4b9c
)
Fixed a problem when copying an absolute source path with
author
Wayne Davison
<wayned@samba.org>
Mon, 13 Mar 2006 01:56:19 +0000
(
01:56
+0000)
committer
Wayne Davison
<wayned@samba.org>
Mon, 13 Mar 2006 01:56:19 +0000
(
01:56
+0000)
the --relative option enabled.
exclude.c
patch
|
blob
|
blame
|
history
diff --git
a/exclude.c
b/exclude.c
index
c8408a1
..
4282e16
100644
(file)
--- a/
exclude.c
+++ b/
exclude.c
@@
-562,7
+562,7
@@
static int rule_matches(char *name, struct filter_struct *ex, int name_is_dir)
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);