Moved the reading of the final MSG_DONE message here from main.c

(this message comes from the receiver).  This ensures that any
redo-pass files and delete-after processing are known to be done
prior to the start of our hard-link and dir-time-munging loops.
This commit is contained in:
Wayne Davison
2005-01-10 00:31:55 +00:00
parent bf18b7ca67
commit b0da4b23a0

View File

@@ -685,6 +685,9 @@ void generate_files(int f_out, struct file_list *flist, char *local_name,
write_int(f_out, -1);
/* Read post-redo-phase MSG_DONE and any prior messages. */
get_redo_num();
if (preserve_hard_links)
do_hard_links();