summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorWayne Davison <wayned@samba.org>2006-12-06 01:32:17 +0000
committerWayne Davison <wayned@samba.org>2006-12-06 01:32:17 +0000
commit1e1ca25343206df0ad8dccaefdae0506c7817532 (patch)
tree57b47481543f0e87e30dd289cfdae2a50468d2b4 /main.c
parenta2ebbffca75efb33a81624c2d7f5644784e0992b (diff)
downloadrsync-1e1ca25343206df0ad8dccaefdae0506c7817532.tar.gz
rsync-1e1ca25343206df0ad8dccaefdae0506c7817532.tar.bz2
rsync-1e1ca25343206df0ad8dccaefdae0506c7817532.zip
#ifdef calls to hard-link functions.
Diffstat (limited to 'main.c')
-rw-r--r--main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/main.c b/main.c
index 28334357..0733a9aa 100644
--- a/main.c
+++ b/main.c
@@ -695,8 +695,10 @@ static int do_recv(int f_in,int f_out,struct file_list *flist,char *local_name)
* points to an identical file won't be replaced by the referent. */
copy_links = copy_dirlinks = 0;
+#ifdef SUPPORT_HARD_LINKS
if (preserve_hard_links)
init_hard_links();
+#endif
if (fd_pair(error_pipe) < 0) {
rsyserr(FERROR, errno, "pipe failed in do_recv");