Moved the xattr setting and added code to make sure that we set
[rsync/rsync-patches.git] / detect-renamed.diff
index 0449ac9..9e61a02 100644 (file)
@@ -63,14 +63,14 @@ TODO:
  extern struct stats stats;
 @@ -87,6 +88,8 @@ static int64 tmp_dev, tmp_ino;
  #endif
- static char tmp_sum[MD4_SUM_LENGTH];
+ static char tmp_sum[MAX_DIGEST_LEN];
  
 +struct file_list the_fattr_list;
 +
- static char empty_sum[MD4_SUM_LENGTH];
+ static char empty_sum[MAX_DIGEST_LEN];
  static int flist_count_offset; /* for --delete --progress */
  
-@@ -271,6 +274,45 @@ static mode_t from_wire_mode(int mode)
+@@ -273,6 +276,45 @@ static mode_t from_wire_mode(int mode)
        return mode;
  }
  
@@ -116,7 +116,7 @@ TODO:
  static void send_directory(int f, struct file_list *flist, int ndx,
                           char *fbuf, int len, int flags);
  
-@@ -1765,6 +1807,25 @@ struct file_list *recv_file_list(int f)
+@@ -1767,6 +1809,25 @@ struct file_list *recv_file_list(int f)
  
        clean_flist(flist, relative_paths, 1);