X-Git-Url: https://mattmccutchen.net/rsync/rsync-patches.git/blobdiff_plain/65ecbe359f898940a7ff6f8b0b5088d001ab66ea..e897210106a2626b8a627fde067949f6275981d5:/checksum-xattr.diff diff --git a/checksum-xattr.diff b/checksum-xattr.diff index f2d76a6..53d1319 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 -@@ -1224,7 +1224,8 @@ struct file_struct *make_file(const char *fname, struct file_list *flist, +@@ -1250,7 +1250,8 @@ struct file_struct *make_file(const char *fname, struct file_list *flist, memcpy(bp + basename_len, linkname, linkname_len); #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 -@@ -718,7 +718,8 @@ int unchanged_file(char *fn, struct file_struct *file, STRUCT_STAT *st) +@@ -721,7 +721,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]; @@ -180,7 +180,7 @@ diff --git a/xattrs.c b/xattrs.c typedef struct { char *datum, *name; -@@ -237,7 +243,9 @@ static int rsync_xal_get(const char *fname, item_list *xalp) +@@ -238,7 +244,9 @@ static int rsync_xal_get(const char *fname, item_list *xalp) || (am_root < 0 && (strcmp(name+RPRE_LEN+1, XSTAT_SUFFIX) == 0 || strcmp(name+RPRE_LEN+1, XACC_ACL_SUFFIX) == 0 @@ -191,7 +191,7 @@ diff --git a/xattrs.c b/xattrs.c continue; } -@@ -844,6 +852,39 @@ int del_def_xattr_acl(const char *fname) +@@ -891,6 +899,39 @@ int del_def_xattr_acl(const char *fname) } #endif