From: Wayne Davison Date: Sun, 25 Jan 2004 22:32:08 +0000 (+0000) Subject: Moved the call to do_hard_links() and the final directory-permissions X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/commitdiff_plain/f746dda0a0022427eb1ef374f8f998b2153e50e5 Moved the call to do_hard_links() and the final directory-permissions scan from recv_files() into generate_files(). --- diff --git a/receiver.c b/receiver.c index 3c18c4b9..b3e2f23e 100644 --- a/receiver.c +++ b/receiver.c @@ -479,18 +479,6 @@ int recv_files(int f_in,struct file_list *flist,char *local_name) && flist->count > 0) delete_files(flist); - if (preserve_hard_links) - do_hard_links(); - - /* now we need to fix any directory permissions that were - * modified during the transfer */ - for (i = 0; i < flist->count; i++) { - file = flist->files[i]; - if (!file->basename || !S_ISDIR(file->mode)) continue; - recv_generator(local_name ? local_name : f_name_to(file, fbuf), - file, i, -1); - } - if (verbose > 2) rprintf(FINFO,"recv_files finished\n");