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 (from parent 1:
352963d
)
We need the name-pipe for --inplace these days.
author
Wayne Davison
<wayned@samba.org>
Tue, 22 Feb 2005 22:13:02 +0000
(22:13 +0000)
committer
Wayne Davison
<wayned@samba.org>
Tue, 22 Feb 2005 22:13:02 +0000
(22:13 +0000)
main.c
patch
|
blob
|
blame
|
history
diff --git
a/main.c
b/main.c
index
14e8c06
..
62a2b4d
100644
(file)
--- a/
main.c
+++ b/
main.c
@@
-48,6
+48,7
@@
extern int recurse;
extern int fuzzy_basis;
extern int relative_paths;
extern int rsync_port;
extern int fuzzy_basis;
extern int relative_paths;
extern int rsync_port;
+extern int inplace;
extern int whole_file;
extern int read_batch;
extern int write_batch;
extern int whole_file;
extern int read_batch;
extern int write_batch;
@@
-497,8
+498,8
@@
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 = (basis_dir[0] || partial_dir || fuzzy_basis
)
- && !dry_run;
+ BOOL need_name_pipe = (basis_dir[0] || partial_dir || fuzzy_basis
+
|| inplace)
&& !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. */