git.samba.org
/
rsync.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
35c8fd7
)
Changed HLINK_BUMP() to look for either FLAG_HLINKED or FLAG_HLINK_DONE.
author
Wayne Davison
<wayned@samba.org>
Tue, 4 Sep 2007 06:52:52 +0000
(06:52 +0000)
committer
Wayne Davison
<wayned@samba.org>
Tue, 4 Sep 2007 06:52:52 +0000
(06:52 +0000)
rsync.h
patch
|
blob
|
history
diff --git
a/rsync.h
b/rsync.h
index 1a136e79d0725a15db39a4fbbf189075f8852800..4a27ec0b329ba0395abc4e6a785ba6c3d05cc466 100644
(file)
--- a/
rsync.h
+++ b/
rsync.h
@@
-587,7
+587,7
@@
extern int xattrs_ndx;
#define OPT_EXTRA(f,bump) ((union file_extras*)(f) - file_extra_cnt - 1 - (bump))
#define LEN64_BUMP(f) ((f)->flags & FLAG_LENGTH64 ? 1 : 0)
-#define HLINK_BUMP(f) (
F_IS_HLINKED(f
) ? inc_recurse+1 : 0)
+#define HLINK_BUMP(f) (
(f)->flags & (FLAG_HLINKED|FLAG_HLINK_DONE
) ? inc_recurse+1 : 0)
#define ACL_BUMP(f) (acls_ndx ? 1 : 0)
/* The length applies to all items. */