Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
8f3335a
)
Refer to the right sorted/unsorted file list array in touch_up_dirs().
author
Wayne Davison
<wayned@samba.org>
Thu, 26 Apr 2007 23:15:43 +0000
(23:15 +0000)
committer
Wayne Davison
<wayned@samba.org>
Thu, 26 Apr 2007 23:15:43 +0000
(23:15 +0000)
generator.c
patch
|
blob
|
blame
|
history
diff --git
a/generator.c
b/generator.c
index
f6167df
..
b64c031
100644
(file)
--- a/
generator.c
+++ b/
generator.c
@@
-1733,7
+1733,7
@@
static void touch_up_dirs(struct file_list *flist, int ndx)
/* Fix any directory permissions that were modified during the
* transfer and/or re-set any tweaked modified-time values. */
for (i = start, j = 0; i <= end; i++) {
/* Fix any directory permissions that were modified during the
* transfer and/or re-set any tweaked modified-time values. */
for (i = start, j = 0; i <= end; i++) {
- file = flist->
sorted
[i];
+ file = flist->
files
[i];
if (!F_IS_ACTIVE(file) || !S_ISDIR(file->mode)
|| file->flags & FLAG_MISSING_DIR)
continue;
if (!F_IS_ACTIVE(file) || !S_ISDIR(file->mode)
|| file->flags & FLAG_MISSING_DIR)
continue;
@@
-2008,7
+2008,7
@@
void generate_files(int f_out, const char *local_name)
if ((need_retouch_dir_perms || need_retouch_dir_times)
&& dir_tweaking && (!inc_recurse || delete_during == 2))
if ((need_retouch_dir_perms || need_retouch_dir_times)
&& dir_tweaking && (!inc_recurse || delete_during == 2))
- touch_up_dirs(
inc_recurse ? dir_flist : cu
r_flist, -1);
+ touch_up_dirs(
di
r_flist, -1);
if (max_delete >= 0 && deletion_count > max_delete) {
rprintf(FINFO,
if (max_delete >= 0 && deletion_count > max_delete) {
rprintf(FINFO,