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
Added init_stat_x() to avoid duplication of acl/xattr init code.
[rsync/rsync.git]
/
generator.c
diff --git
a/generator.c
b/generator.c
index
1db0fe0
..
1e66085
100644
(file)
--- a/
generator.c
+++ b/
generator.c
@@
-22,6
+22,7
@@
#include "rsync.h"
#include "inums.h"
#include "rsync.h"
#include "inums.h"
+#include "ifuncs.h"
extern int dry_run;
extern int do_xfers;
extern int dry_run;
extern int do_xfers;
@@
-1333,12
+1334,7
@@
static void recv_generator(char *fname, struct file_struct *file, int ndx,
}
}
}
}
-#ifdef SUPPORT_ACLS
- sx.acc_acl = sx.def_acl = NULL;
-#endif
-#ifdef SUPPORT_XATTRS
- sx.xattr = NULL;
-#endif
+ init_stat_x(&sx);
if (dry_run > 1 || (dry_missing_dir && is_below(file, dry_missing_dir))) {
parent_is_dry_missing:
if (fuzzy_dirlist) {
if (dry_run > 1 || (dry_missing_dir && is_below(file, dry_missing_dir))) {
parent_is_dry_missing:
if (fuzzy_dirlist) {