X-Git-Url: https://mattmccutchen.net/rsync/rsync-patches.git/blobdiff_plain/a304483446b6aa46b03394e1f60eceff06684ffc..a302c04819c87d365481d9a8b516d3c20df8bf46:/link-by-hash.diff diff --git a/link-by-hash.diff b/link-by-hash.diff index 4f8cf50..a4a4675 100644 --- a/link-by-hash.diff +++ b/link-by-hash.diff @@ -31,9 +31,9 @@ To use this patch, run these commands for a successful build: extern struct stats stats; +extern char *link_by_hash_dir; extern struct file_list *the_file_list; + extern alloc_pool_t hlink_pool; - extern char curr_dir[MAXPATHLEN]; -@@ -621,7 +622,7 @@ static struct file_struct *recv_file_ent +@@ -624,7 +625,7 @@ static struct file_struct *recv_file_ent } #endif @@ -514,7 +514,7 @@ To use this patch, run these commands for a successful build: } static void handle_delayed_updates(struct file_list *flist, char *local_name) -@@ -609,7 +620,7 @@ int recv_files(int f_in, struct file_lis +@@ -604,7 +615,7 @@ int recv_files(int f_in, struct file_lis /* recv file data */ recv_ok = receive_data(f_in, fnamecmp, fd1, st.st_size, @@ -553,7 +553,7 @@ To use this patch, run these commands for a successful build: ret == -2 ? "copy" : "rename", --- old/rsync.h +++ new/rsync.h -@@ -692,6 +692,14 @@ struct stats { +@@ -685,6 +685,14 @@ struct stats { int current_file_index; };