The patches for 3.0.0pre10.
[rsync/rsync-patches.git] / checksum-reading.diff
index d2a60b5..2dd412b 100644 (file)
@@ -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;
  }