The patches for 3.0.5pre1.
[rsync/rsync-patches.git] / checksum-xattr.diff
index 53d1319..0515194 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
-@@ -1250,7 +1250,8 @@ struct file_struct *make_file(const char *fname, struct file_list *flist,
+@@ -1286,7 +1286,8 @@ struct file_struct *make_file(const char *fname, struct file_list *flist,
                memcpy(bp + basename_len, linkname, linkname_len);
  #endif
  
@@ -191,7 +191,7 @@ diff --git a/xattrs.c b/xattrs.c
                                continue;
                }
  
-@@ -891,6 +899,39 @@ int del_def_xattr_acl(const char *fname)
+@@ -894,6 +902,39 @@ int del_def_xattr_acl(const char *fname)
  }
  #endif
  
@@ -202,7 +202,7 @@ diff --git a/xattrs.c b/xattrs.c
 +      char buf[256];
 +      uint32 file_length, mtime;
 +      int len;
-+      
++
 +      len = sys_lgetxattr(fname, mdattr, buf, sizeof buf);
 +      if (len < 0) {
 +              if (errno == ENOTSUP || errno == ENOATTR)