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
(parent:
90c98cd
)
Made some code that handles hard-linking of symlinks be
author
Wayne Davison
<wayned@samba.org>
Mon, 19 Nov 2007 01:54:35 +0000
(17:54 -0800)
committer
Wayne Davison
<wayned@samba.org>
Mon, 19 Nov 2007 01:54:35 +0000
(17:54 -0800)
omitted if symlinks can't be hard-linked.
generator.c
patch
|
blob
|
blame
|
history
diff --git
a/generator.c
b/generator.c
index
dbcd80e
..
e0fb51d
100644
(file)
--- a/
generator.c
+++ b/
generator.c
@@
-1427,7
+1427,7
@@
static void recv_generator(char *fname, struct file_struct *file, int ndx,
set_file_attrs(fname, file, &sx, NULL, maybe_ATTRS_REPORT);
if (itemizing)
itemize(fname, file, ndx, 0, &sx, 0, 0, NULL);
-#if
def SUPPORT_HARD_LINKS
+#if
defined SUPPORT_HARD_LINKS && defined CAN_HARDLINK_SYMLINK
if (preserve_hard_links && F_IS_HLINKED(file))
finish_hard_link(file, fname, ndx, &sx.st, itemizing, code, -1);
#endif