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
(parent:
f6c0d3d
)
Don't allow a --partial-dir setting to overwrite a server-excluded
author
Wayne Davison
<wayned@samba.org>
Sat, 31 Jul 2004 18:13:20 +0000
(18:13 +0000)
committer
Wayne Davison
<wayned@samba.org>
Sat, 31 Jul 2004 18:13:20 +0000
(18:13 +0000)
file (affects a daemon receiver only).
util.c
patch
|
blob
|
blame
|
history
diff --git
a/util.c
b/util.c
index
95709a9
..
528efd4
100644
(file)
--- a/
util.c
+++ b/
util.c
@@
-991,6
+991,9
@@
char *partial_dir_fname(const char *fname)
fn = fname;
if ((int)pathjoin(t, sz, partial_dir, fn) >= sz)
return NULL;
+ if (server_exclude_list.head
+ && check_exclude(&server_exclude_list, partial_fname, 0) < 0)
+ return NULL;
return partial_fname;
}