Matt McCutchen's Web Site
/
rsync
/
rsync-patches.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
1f839b4
)
Got rid of two compiler warnings.
author
Wayne Davison
<wayned@samba.org>
Fri, 13 May 2005 06:19:43 +0000
(06:19 +0000)
committer
Wayne Davison
<wayned@samba.org>
Fri, 13 May 2005 06:19:43 +0000
(06:19 +0000)
xattrs.diff
patch
|
blob
|
blame
|
history
diff --git
a/xattrs.diff
b/xattrs.diff
index
2fdd46a
..
ebb902c
100644
(file)
--- a/
xattrs.diff
+++ b/
xattrs.diff
@@
-358,8
+358,8
@@
After applying this patch, run these commands for a successful build:
dit(bf(-o, --owner)) This option causes rsync to set the owner of the
destination file to be the same as the source file. On most systems,
only the super-user can set file ownership. By default, the preservation
dit(bf(-o, --owner)) This option causes rsync to set the owner of the
destination file to be the same as the source file. On most systems,
only the super-user can set file ownership. By default, the preservation
---- orig/xattr.c 2005-05-1
2 23:18:33
-+++ xattr.c 2005-05-1
2 23:18:33
+--- orig/xattr.c 2005-05-1
3 06:10:34
++++ xattr.c 2005-05-1
3 06:10:34
@@ -0,0 +1,546 @@
+/* Extended Attribute support for rsync */
+/* Copyright (C) 2004 Red Hat, Inc */
@@ -0,0 +1,546 @@
+/* Extended Attribute support for rsync */
+/* Copyright (C) 2004 Red Hat, Inc */
@@
-597,7
+597,7
@@
After applying this patch, run these commands for a successful build:
+
+BOOL make_xattr(const struct file_struct *file, const char *fname)
+{
+
+BOOL make_xattr(const struct file_struct *file, const char *fname)
+{
-+ if (!preserve_xattrs)
++ if (!preserve_xattrs
|| !file
)
+ return True;
+
+ rsync_xal_get(fname, &curr_rsync_xal);
+ return True;
+
+ rsync_xal_get(fname, &curr_rsync_xal);
@@
-657,7
+657,7
@@
After applying this patch, run these commands for a successful build:
+{
+ ssize_t index;
+
+{
+ ssize_t index;
+
-+ if (!preserve_xattrs)
++ if (!preserve_xattrs
|| !file
)
+ return;
+
+ if (f == -1) {
+ return;
+
+ if (f == -1) {