From: Wayne Davison Date: Fri, 15 Dec 2006 22:31:16 +0000 (+0000) Subject: Moved the calls to init_hard_links() into flist.c. X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/commitdiff_plain/f05c80119448c117dfdeaf0a4eb6d174ce5d5f55 Moved the calls to init_hard_links() into flist.c. --- diff --git a/main.c b/main.c index 48bd93df..9a1bec0f 100644 --- a/main.c +++ b/main.c @@ -831,11 +831,6 @@ static void do_server_recv(int f_in, int f_out, int argc,char *argv[]) filesfrom_fd = -1; } -#ifdef SUPPORT_HARD_LINKS - if (preserve_hard_links) - init_hard_links(); -#endif - flist = recv_file_list(f_in); verbose = save_verbose; if (!flist) { @@ -997,11 +992,6 @@ int client_run(int f_in, int f_out, pid_t pid, int argc, char *argv[]) filesfrom_fd = -1; } -#ifdef SUPPORT_HARD_LINKS - if (preserve_hard_links) - init_hard_links(); -#endif - if (write_batch && !am_server) start_write_batch(f_in); flist = recv_file_list(f_in);