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:
a071aea
)
Output ssize_t values for rprintf() cast to long for portability.
author
Wayne Davison
<wayned@samba.org>
Thu, 26 Oct 2006 16:34:40 +0000
(16:34 +0000)
committer
Wayne Davison
<wayned@samba.org>
Thu, 26 Oct 2006 16:34:40 +0000
(16:34 +0000)
xattrs.diff
patch
|
blob
|
blame
|
history
diff --git
a/xattrs.diff
b/xattrs.diff
index
74a00d9
..
728e547
100644
(file)
--- a/
xattrs.diff
+++ b/
xattrs.diff
@@
-532,7
+532,7
@@
TODO:
transfer. The resulting value is treated as though it was the permissions
--- old/xattr.c
+++ new/xattr.c
transfer. The resulting value is treated as though it was the permissions
--- old/xattr.c
+++ new/xattr.c
-@@ -0,0 +1,36
7
@@
+@@ -0,0 +1,36
8
@@
+/*
+ * Extended Attribute support for rsync.
+ * Written by Jay Fenlason, vaguely based on the ACLs patch.
+/*
+ * Extended Attribute support for rsync.
+ * Written by Jay Fenlason, vaguely based on the ACLs patch.
@@
-695,8
+695,9
@@
TODO:
+ } else {
+ rprintf(FERROR,
+ "rsync_xal_get: lgetxattr(%s,%s)"
+ } else {
+ rprintf(FERROR,
+ "rsync_xal_get: lgetxattr(%s,%s)"
-+ " returned %d instead of %d\n",
-+ fname, name, size, datum_size);
++ " returned %ld instead of %ld\n",
++ fname, name,
++ (long)size, (long)datum_size);
+ }
+ return -1;
+ }
+ }
+ return -1;
+ }