Matt McCutchen's Web Site
/
rsync
/
rsync-patches.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Reverting the change in 1.21.
[rsync/rsync-patches.git]
/
xattrs.diff
diff --git
a/xattrs.diff
b/xattrs.diff
index
bb2c574
..
6f0c0c3
100644
(file)
--- a/
xattrs.diff
+++ b/
xattrs.diff
@@
-320,8
+320,8
@@
After applying this patch, run these commands for a successful build:
extern int preserve_perms;
extern int preserve_executability;
extern int preserve_times;
extern int preserve_perms;
extern int preserve_executability;
extern int preserve_times;
-@@ -2
25,6 +226
,10 @@ int set_file_attrs(char *fname, struct f
- if (preserve_acls && set_acl(fname, file) == 0)
+@@ -2
11,6 +212
,10 @@ int set_file_attrs(char *fname, struct f
+ if (preserve_acls && set_acl(fname, file
, st->st_mode
) == 0)
updated = 1;
#endif
+#ifdef SUPPORT_XATTRS
updated = 1;
#endif
+#ifdef SUPPORT_XATTRS
@@
-329,8
+329,8
@@
After applying this patch, run these commands for a successful build:
+ updated = 1;
+#endif
+ updated = 1;
+#endif
- if (verbose > 1 && flags & ATTRS_REPORT) {
- enum logcode code = daemon_log_format_has_i || dry_run
+ #ifdef HAVE_CHMOD
+ if ((st->st_mode & CHMOD_BITS) != (file->mode & CHMOD_BITS)) {
--- old/rsync.h
+++ new/rsync.h
@@ -672,6 +672,14 @@ struct chmod_mode_struct;
--- old/rsync.h
+++ new/rsync.h
@@ -672,6 +672,14 @@ struct chmod_mode_struct;