Commit b0da4b23 authored by Wayne Davison's avatar Wayne Davison

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.
parent bf18b7ca
......@@ -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();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment