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:
4f802c6
)
Always send implied dirs as dirs.
author
Wayne Davison
<wayned@samba.org>
Sat, 22 Sep 2007 22:37:52 +0000
(22:37 +0000)
committer
Wayne Davison
<wayned@samba.org>
Sat, 22 Sep 2007 22:37:52 +0000
(22:37 +0000)
flist.c
patch
|
blob
|
blame
|
history
diff --git
a/flist.c
b/flist.c
index
3222429
..
d08f1e3
100644
(file)
--- a/
flist.c
+++ b/
flist.c
@@
-1545,8
+1545,7
@@
static void send_implied_dirs(int f, struct file_list *flist, char *fname,
int save_copy_links = copy_links;
int save_xfer_dirs = xfer_dirs;
- copy_links |= copy_unsafe_links;
- xfer_dirs = 1;
+ copy_links = xfer_dirs = 1;
*limit = '\0';
@@
-1560,8
+1559,6
@@
static void send_implied_dirs(int f, struct file_list *flist, char *fname,
if (inc_recurse) {
if (file && !S_ISDIR(file->mode))
file = NULL;
- else if (file)
- memset(F_DIR_RELS_P(file), 0, sizeof (item_list*));
lastpath_struct = file;
}