X-Git-Url: https://mattmccutchen.net/rsync/rsync-patches.git/blobdiff_plain/cc3e685d09b2095099fc396157d19172ab3ef7c4..63bb92e3343c5d762dec2ff150bb3e5e165d05db:/checksum-xattr.diff diff --git a/checksum-xattr.diff b/checksum-xattr.diff index 2cac1f5..c707287 100644 --- a/checksum-xattr.diff +++ b/checksum-xattr.diff @@ -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 -@@ -1211,7 +1211,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) +@@ -683,7 +683,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; -@@ -841,6 +845,39 @@ int del_def_xattr_acl(const char *fname) +@@ -829,6 +833,39 @@ int del_def_xattr_acl(const char *fname) } #endif