From cb8240a29171f3ef4e77e7d4809a446b3c3408e4 Mon Sep 17 00:00:00 2001 From: Wayne Davison Date: Tue, 22 Feb 2005 22:13:02 +0000 Subject: [PATCH] We need the name-pipe for --inplace these days. --- main.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/main.c b/main.c index 14e8c069..62a2b4d0 100644 --- 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 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. */ -- 2.34.1