git.samba.org
/
rsync-patches.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3f24a3a
)
Fixed a compile problem in the non-Linux code.
author
Wayne Davison
<wayned@samba.org>
Fri, 3 Nov 2006 07:59:02 +0000
(07:59 +0000)
committer
Wayne Davison
<wayned@samba.org>
Fri, 3 Nov 2006 07:59:02 +0000
(07:59 +0000)
xattrs.diff
patch
|
blob
|
history
diff --git
a/xattrs.diff
b/xattrs.diff
index cbde400ac6b75a59741439fc5f7cedb8f9f9689c..4a23f45dcbae201b641ca2ba934ecb55fdec92bb 100644
(file)
--- a/
xattrs.diff
+++ b/
xattrs.diff
@@
-888,7
+888,7
@@
TODO:
+#ifndef HAVE_LINUX_XATTRS
+ /* This OS only sends the user namespace, so we may have
+ * stored a root namespace from Linux in user space. */
-+ if (strncmp(
ptr
, ROOT_PREFIX, RPRE_LEN) != 0) {
++ if (strncmp(
rxa->name
, ROOT_PREFIX, RPRE_LEN) != 0) {
+ write_int(f, rxa->name_len + UPRE_LEN);
+ write_int(f, rxa->datum_len);
+ write_buf(f, USER_PREFIX, UPRE_LEN);