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
Fix list-only output of dirs w/--relative but w/o --recursive.
[rsync/rsync.git]
/
rsync.c
diff --git
a/rsync.c
b/rsync.c
index
d917931
..
731528f
100644
(file)
--- a/
rsync.c
+++ b/
rsync.c
@@
-337,11
+337,11
@@
mode_t dest_mode(mode_t flist_mode, mode_t stat_mode, int dflt_perms,
return new_mode;
}
return new_mode;
}
-int set_file_attrs(const char *fname, struct file_struct *file, statx *sxp,
+int set_file_attrs(const char *fname, struct file_struct *file, stat
_
x *sxp,
const char *fnamecmp, int flags)
{
int updated = 0;
const char *fnamecmp, int flags)
{
int updated = 0;
- statx sx2;
+ stat
_
x sx2;
int change_uid, change_gid;
mode_t new_mode = file->mode;
int inherit;
int change_uid, change_gid;
mode_t new_mode = file->mode;
int inherit;