Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Some improvements to the solaris xattr routines.
[rsync/rsync.git]
/
flist.c
diff --git
a/flist.c
b/flist.c
index
1dee087
..
7208efa
100644
(file)
--- a/
flist.c
+++ b/
flist.c
@@
-1476,6
+1476,7
@@
static struct file_struct *send_file_name(int f, struct file_list *flist,
#endif
#ifdef SUPPORT_XATTRS
if (preserve_xattrs) {
+ sx.st.st_mode = file->mode;
if (get_xattr(fname, &sx) < 0) {
io_error |= IOERR_GENERAL;
return NULL;