diff options
| author | Wayne Davison <wayned@samba.org> | 2005-02-22 22:13:02 +0000 |
|---|---|---|
| committer | Wayne Davison <wayned@samba.org> | 2005-02-22 22:13:02 +0000 |
| commit | cb8240a29171f3ef4e77e7d4809a446b3c3408e4 (patch) | |
| tree | 2021633948170073fe1b52880f8c2c3cb0a6adf4 /main.c | |
| parent | 352963ddc33a0a56f604395b65222191a38c5c8e (diff) | |
| download | android_external_rsync-cb8240a29171f3ef4e77e7d4809a446b3c3408e4.tar.gz android_external_rsync-cb8240a29171f3ef4e77e7d4809a446b3c3408e4.tar.bz2 android_external_rsync-cb8240a29171f3ef4e77e7d4809a446b3c3408e4.zip | |
We need the name-pipe for --inplace these days.
Diffstat (limited to 'main.c')
| -rw-r--r-- | main.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -48,6 +48,7 @@ extern int recurse; 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; @@ -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]; - 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. */ |
