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
F_SUM() needed to use HLINK_BUMP().
[rsync/rsync.git]
/
rsync.h
diff --git
a/rsync.h
b/rsync.h
index
876d541
..
9b7fd3f
100644
(file)
--- a/
rsync.h
+++ b/
rsync.h
@@
-562,7
+562,8
@@
extern int preserve_gid;
#define F_DMINOR(f) OPT_EXTRA(f, HLINK_BUMP(f) + 1)->unum
/* The sum is only present on regular files. */
#define F_DMINOR(f) OPT_EXTRA(f, HLINK_BUMP(f) + 1)->unum
/* The sum is only present on regular files. */
-#define F_SUM(f) ((const char*)OPT_EXTRA(f, LEN64_BUMP(f) + SUM_EXTRA_CNT - 1))
+#define F_SUM(f) ((const char*)OPT_EXTRA(f, LEN64_BUMP(f) + HLINK_BUMP(f) \
+ + SUM_EXTRA_CNT - 1))
/* A couple bool-type utility functions: */
#define F_IS_HLINKED(f) ((f)->flags & FLAG_HLINKED)
/* A couple bool-type utility functions: */
#define F_IS_HLINKED(f) ((f)->flags & FLAG_HLINKED)