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
More batch-mode fixes to handle redos properly (and without hanging).
[rsync/rsync.git]
/
generator.c
diff --git
a/generator.c
b/generator.c
index
af6f22a
..
4bc3f67
100644
(file)
--- a/
generator.c
+++ b/
generator.c
@@
-21,7
+21,7
@@
*/
#include "rsync.h"
*/
#include "rsync.h"
-#include "i
func
s.h"
+#include "i
num
s.h"
extern int dry_run;
extern int do_xfers;
extern int dry_run;
extern int do_xfers;
@@
-2285,6
+2285,9
@@
void generate_files(int f_out, const char *local_name)
}
} while ((cur_flist = cur_flist->next) != NULL);
}
} while ((cur_flist = cur_flist->next) != NULL);
+ if (read_batch)
+ write_ndx(f_out, NDX_DONE);
+
if (delete_during)
delete_in_dir(NULL, NULL, &dev_zero);
phase++;
if (delete_during)
delete_in_dir(NULL, NULL, &dev_zero);
phase++;