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:
b7e8628
)
The compare_dest variable changed.
author
Wayne Davison
<wayned@samba.org>
Sat, 27 Nov 2004 17:52:49 +0000
(17:52 +0000)
committer
Wayne Davison
<wayned@samba.org>
Sat, 27 Nov 2004 17:52:49 +0000
(17:52 +0000)
main.c
patch
|
blob
|
blame
|
history
diff --git
a/main.c
b/main.c
index
28803c8
..
7ff33f5
100644
(file)
--- a/
main.c
+++ b/
main.c
@@
-59,7
+59,7
@@
extern int filesfrom_fd;
extern pid_t cleanup_child_pid;
extern char *files_from;
extern char *remote_filesfrom_file;
extern pid_t cleanup_child_pid;
extern char *files_from;
extern char *remote_filesfrom_file;
-extern char *
compare_dest
;
+extern char *
basis_dir[]
;
extern char *rsync_path;
extern char *shell_cmd;
extern char *batch_name;
extern char *rsync_path;
extern char *shell_cmd;
extern char *batch_name;
@@
-463,7
+463,7
@@
static int do_recv(int f_in,int f_out,struct file_list *flist,char *local_name)
int pid;
int status = 0;
int error_pipe[2], name_pipe[2];
int pid;
int status = 0;
int error_pipe[2], name_pipe[2];
- BOOL need_name_pipe =
compare_dest
&& !dry_run;
+ BOOL need_name_pipe =
basis_dir[0]
&& !dry_run;
/* The receiving side mustn't obey this, or an existing symlink that
* points to an identical file won't be replaced by the referent. */
/* The receiving side mustn't obey this, or an existing symlink that
* points to an identical file won't be replaced by the referent. */