diff options
author | Wayne Davison <wayned@samba.org> | 2009-08-08 13:21:26 -0700 |
---|---|---|
committer | Wayne Davison <wayned@samba.org> | 2009-08-08 13:21:26 -0700 |
commit | 0d5ebab1d6df5169c5834c02c978fd5bb67421ca (patch) | |
tree | 6489a5bd7de6fbd5ecbe888696fedaf1f1fb5f74 /flist.c | |
parent | dab0fb7cf0f63bb6337eaebb69571408f7bed244 (diff) | |
download | android_external_rsync-0d5ebab1d6df5169c5834c02c978fd5bb67421ca.tar.gz android_external_rsync-0d5ebab1d6df5169c5834c02c978fd5bb67421ca.tar.bz2 android_external_rsync-0d5ebab1d6df5169c5834c02c978fd5bb67421ca.zip |
Add conditional support for excluding types of files from xattr ops.
Diffstat (limited to 'flist.c')
-rw-r--r-- | flist.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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; |