X-Git-Url: https://mattmccutchen.net/rsync/rsync-patches.git/blobdiff_plain/c0c7984e7f6009b6ab18ad3da998a56a9c0f083d..9127013998bd097f699897b0f2b142fe2ba71e9d:/link-by-hash.diff diff --git a/link-by-hash.diff b/link-by-hash.diff index b4e0848..9b511db 100644 --- a/link-by-hash.diff +++ b/link-by-hash.diff @@ -35,7 +35,7 @@ diff --git a/flist.c b/flist.c extern char curr_dir[MAXPATHLEN]; -@@ -859,7 +860,7 @@ static struct file_struct *recv_file_entry(struct file_list *flist, +@@ -834,7 +835,7 @@ static struct file_struct *recv_file_entry(struct file_list *flist, extra_len += EXTRA_LEN; #endif @@ -540,7 +540,7 @@ diff --git a/rsync.c b/rsync.c extern struct file_list *cur_flist, *first_flist, *dir_flist; extern struct chmod_mode_struct *daemon_chmod_modes; #ifdef ICONV_OPTION -@@ -571,8 +572,15 @@ int finish_transfer(const char *fname, const char *fnametmp, +@@ -574,8 +575,15 @@ int finish_transfer(const char *fname, const char *fnametmp, /* move tmp file over real file */ if (verbose > 2) rprintf(FINFO, "renaming %s to %s\n", fnametmp, fname); @@ -561,7 +561,7 @@ diff --git a/rsync.c b/rsync.c diff --git a/rsync.h b/rsync.h --- a/rsync.h +++ b/rsync.h -@@ -820,6 +820,14 @@ struct stats { +@@ -824,6 +824,14 @@ struct stats { int num_transferred_files; };