mirror of
https://github.com/RsyncProject/rsync.git
synced 2026-01-30 01:31:49 -05:00
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:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user