Patch from Mark Curtis to implement the --inplace option.
--- match.c 21 May 2004 08:27:04 -0000 1.62
-+++ match.c 18 Jun 2004 17:27:29 -0000
++++ match.c 30 Jun 2004 00:09:37 -0000
@@ -23,6 +23,7 @@ extern int verbose;
extern int am_server;
extern int do_progress;
if (verbose > 3)
rprintf(FINFO,"potential match at %.0f target=%.0f %.0f sum=%08x\n",
(double)offset,(double)j,(double)i,sum);
---- options.c 7 Jun 2004 22:05:22 -0000 1.156
-+++ options.c 18 Jun 2004 17:27:29 -0000
+--- options.c 20 Jun 2004 19:47:05 -0000 1.157
++++ options.c 30 Jun 2004 00:09:38 -0000
@@ -94,6 +94,7 @@ int ignore_errors = 0;
int modify_window = 0;
int blocking_io = -1;
if (tmpdir) {
args[ac++] = "--temp-dir";
args[ac++] = tmpdir;
---- receiver.c 14 Jun 2004 15:09:36 -0000 1.82
-+++ receiver.c 18 Jun 2004 17:27:30 -0000
+--- receiver.c 29 Jun 2004 15:12:01 -0000 1.83
++++ receiver.c 30 Jun 2004 00:09:38 -0000
@@ -48,6 +48,7 @@ extern int ignore_errors;
extern int orig_umask;
extern int keep_partial;
if (do_progress)
end_progress(total_size);
-@@ -418,37 +431,50 @@ int recv_files(int f_in,struct file_list
+@@ -420,37 +433,50 @@ int recv_files(int f_in,struct file_list
} else
mapbuf = NULL;
cleanup_set(fnametmp, fname, file, mapbuf, fd1, fd2);
--- rsync.c 11 Jun 2004 07:40:45 -0000 1.141
-+++ rsync.c 18 Jun 2004 17:27:30 -0000
++++ rsync.c 30 Jun 2004 00:09:38 -0000
@@ -34,6 +34,7 @@ extern int force_delete;
extern int recurse;
extern int make_backups;
ret = robust_rename(fnametmp, fname, file->mode & INITACCESSPERMS);
if (ret < 0) {
--- rsync.yo 5 Jun 2004 16:16:30 -0000 1.171
-+++ rsync.yo 18 Jun 2004 17:27:30 -0000
++++ rsync.yo 30 Jun 2004 00:09:39 -0000
@@ -289,6 +289,7 @@ verb(
--backup-dir make backups into this directory
--suffix=SUFFIX backup suffix (default ~ w/o --backup-dir)