Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Do a better job of writing out the BATCH.sh file (i.e. quote special
[rsync/rsync.git]
/
hlink.c
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;
}