The patches for 3.0.0pre9.
[rsync/rsync-patches.git] / checksum-xattr.diff
index 94953bb..8ff383d 100644 (file)
@@ -11,7 +11,7 @@ To use this patch, run these commands for a successful build:
 diff --git a/flist.c b/flist.c
 --- a/flist.c
 +++ b/flist.c
-@@ -1208,7 +1208,8 @@ struct file_struct *make_file(const char *fname, struct file_list *flist,
+@@ -1214,7 +1214,8 @@ struct file_struct *make_file(const char *fname, struct file_list *flist,
        }
  #endif
  
@@ -24,7 +24,7 @@ diff --git a/flist.c b/flist.c
 diff --git a/generator.c b/generator.c
 --- a/generator.c
 +++ b/generator.c
-@@ -637,7 +637,8 @@ int unchanged_file(char *fn, struct file_struct *file, STRUCT_STAT *st)
+@@ -674,7 +674,8 @@ int unchanged_file(char *fn, struct file_struct *file, STRUCT_STAT *st)
           of the file time to determine whether to sync */
        if (always_checksum > 0 && S_ISREG(st->st_mode)) {
                char sum[MAX_DIGEST_LEN];
@@ -169,7 +169,7 @@ diff --git a/xattrs.c b/xattrs.c
  
  #define RSYNC_XAL_INITIAL 5
  #define RSYNC_XAL_LIST_INITIAL 100
-@@ -66,6 +68,8 @@ extern int checksum_seed;
+@@ -65,6 +67,8 @@ extern int checksum_seed;
  #define XSTAT_ATTR RSYNC_PREFIX "%stat"
  #define XACC_ACL_ATTR RSYNC_PREFIX "%aacl"
  #define XDEF_ACL_ATTR RSYNC_PREFIX "%dacl"
@@ -178,7 +178,7 @@ diff --git a/xattrs.c b/xattrs.c
  
  typedef struct {
        char *datum, *name;
-@@ -853,6 +857,39 @@ int del_def_xattr_acl(const char *fname)
+@@ -829,6 +833,39 @@ int del_def_xattr_acl(const char *fname)
  }
  #endif