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:
88c2190
)
Make sure the receiver resets copy_dirlinks (so that it can't
author
Wayne Davison
<wayned@samba.org>
Fri, 24 Feb 2006 17:54:41 +0000
(17:54 +0000)
committer
Wayne Davison
<wayned@samba.org>
Fri, 24 Feb 2006 17:54:41 +0000
(17:54 +0000)
affect the delete scan).
main.c
patch
|
blob
|
blame
|
history
diff --git
a/main.c
b/main.c
index
7de34f2
..
7ed0d39
100644
(file)
--- a/
main.c
+++ b/
main.c
@@
-41,6
+41,7
@@
extern int do_stats;
extern int log_got_error;
extern int module_id;
extern int copy_links;
+extern int copy_dirlinks;
extern int keep_dirlinks;
extern int preserve_hard_links;
extern int protocol_version;
@@
-625,7
+626,7
@@
static int do_recv(int f_in,int f_out,struct file_list *flist,char *local_name)
/* The receiving side mustn't obey this, or an existing symlink that
* points to an identical file won't be replaced by the referent. */
- copy_links = 0;
+ copy_links =
copy_dirlinks =
0;
if (preserve_hard_links)
init_hard_links();