X-Git-Url: https://mattmccutchen.net/rsync/rsync-patches.git/blobdiff_plain/a5e6228afbf1809d33d9a31e0895c5e955c39ce1..63bb92e3343c5d762dec2ff150bb3e5e165d05db:/checksum-reading.diff diff --git a/checksum-reading.diff b/checksum-reading.diff index d2a60b5..2dd412b 100644 --- a/checksum-reading.diff +++ b/checksum-reading.diff @@ -208,7 +208,7 @@ diff --git a/flist.c b/flist.c + } + fclose(fp); + -+ clean_flist(checksum_flist, 0); ++ flist_sort_and_clean(checksum_flist, 0); +} + int push_pathname(const char *dir, int len) @@ -266,16 +266,13 @@ diff --git a/flist.c b/flist.c /* This code is only used by the receiver when it is building * a list of files for a delete pass. */ if (keep_dirlinks && linkname_len && flist) { -@@ -2074,7 +2272,11 @@ struct file_list *send_file_list(int f, int argc, char *argv[]) +@@ -2074,7 +2272,8 @@ struct file_list *send_file_list(int f, int argc, char *argv[]) * file-list to check if this is a 1-file xfer. */ send_extra_file_list(f, 1); } - } + } else + flist_eof = 1; -+ -+ if (checksum_updating && always_checksum && flist_eof) -+ read_checksums(NULL); return flist; }