Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
a04d77b
)
Made hard_link_check() compile when SUPPORT_HARD_LINKS isn't enabled.
author
Wayne Davison
<wayned@samba.org>
Mon, 12 Jul 2004 07:03:28 +0000
(07:03 +0000)
committer
Wayne Davison
<wayned@samba.org>
Mon, 12 Jul 2004 07:03:28 +0000
(07:03 +0000)
hlink.c
patch
|
blob
|
blame
|
history
diff --git
a/hlink.c
b/hlink.c
index
4228b73
..
1a489c2
100644
(file)
--- a/
hlink.c
+++ b/
hlink.c
@@
-135,6
+135,7
@@
void init_hard_links(struct file_list *flist)
int hard_link_check(struct file_struct *file, int skip)
{
+#if SUPPORT_HARD_LINKS
if (!hlink_list || !file->link_u.links)
return 0;
if (skip && !(file->flags & FLAG_HLINK_EOL))
@@
-146,6
+147,7
@@
int hard_link_check(struct file_struct *file, int skip)
}
return 1;
}
+#endif
return 0;
}