Before compiling, be sure to run "make proto".
---- orig/generator.c 2004-09-20 19:57:58
-+++ generator.c 2004-07-30 07:28:13
+--- orig/generator.c 2004-10-09 04:06:49
++++ generator.c 2004-10-09 03:35:50
@@ -45,7 +45,7 @@ extern int io_timeout;
extern int protocol_version;
extern int always_checksum;
extern int link_dest;
extern int whole_file;
extern int local_server;
-@@ -426,11 +426,19 @@ static void recv_generator(char *fname,
+@@ -424,11 +424,19 @@ static void recv_generator(char *fname,
fnamecmp = fname;
fnamecmp_type = G2R_FNAME;
#if HAVE_LINK
if (link_dest && !dry_run) {
if (do_link(fnamecmpbuf, fname) < 0) {
-@@ -441,15 +449,14 @@ static void recv_generator(char *fname,
+@@ -439,15 +447,14 @@ static void recv_generator(char *fname,
safe_fname(fname));
}
fnamecmp = fnamecmpbuf;
}
}
---- orig/main.c 2004-07-22 00:10:43
+--- orig/main.c 2004-10-09 03:25:43
+++ main.c 2004-07-30 07:23:54
@@ -59,7 +59,7 @@ extern int filesfrom_fd;
extern pid_t cleanup_child_pid;
/* The receiving side mustn't obey this, or an existing symlink that
* points to an identical file won't be replaced by the referent. */
---- orig/options.c 2004-09-23 17:42:07
-+++ options.c 2004-08-13 07:55:37
+--- orig/options.c 2004-10-08 20:16:26
++++ options.c 2004-10-09 03:38:38
@@ -114,12 +114,13 @@ int write_batch = 0;
int read_batch = 0;
int backup_dir_len = 0;
goto options_rejected;
}
if (backup_dir) {
+@@ -827,7 +853,7 @@ int parse_arguments(int *argc, const cha
+ am_server ? "server" : "client");
+ return 0;
+ #endif
+- if (compare_dest) {
++ if (saw_compare_dest || link_dest) {
+ snprintf(err_buf, sizeof err_buf,
+ "--inplace does not yet work with %s\n",
+ link_dest ? "--link-dest" : "--compare-dest");
@@ -894,8 +920,8 @@ int parse_arguments(int *argc, const cha
**/
void server_options(char **args,int *argc)