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:
651c851
)
Obey the new "munge symlinks" dameon setting.
author
Wayne Davison
<wayned@samba.org>
Mon, 3 Jul 2006 22:35:00 +0000
(22:35 +0000)
committer
Wayne Davison
<wayned@samba.org>
Mon, 3 Jul 2006 22:35:00 +0000
(22:35 +0000)
flist.c
patch
|
blob
|
blame
|
history
diff --git
a/flist.c
b/flist.c
index
ad859bc
..
4f67463
100644
(file)
--- a/
flist.c
+++ b/
flist.c
@@
-655,6
+655,8
@@
static struct file_struct *receive_file_entry(struct file_list *flist,
if (linkname_len) {
file->u.link = bp;
read_sbuf(f, bp, linkname_len - 1);
+ if (lp_munge_symlinks(module_id))
+ sanitize_path(bp, bp, "", lastdir_depth, NULL);
bp += linkname_len;
}
#endif