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:
ce571e6
)
Fix accessors F_LENGTH() and F_MOD_NSEC().
author
Wayne Davison
<wayned@samba.org>
Sat, 26 Jun 2010 15:54:57 +0000
(08:54 -0700)
committer
Wayne Davison
<wayned@samba.org>
Sat, 26 Jun 2010 15:54:57 +0000
(08:54 -0700)
rsync.h
patch
|
blob
|
blame
|
history
diff --git
a/rsync.h
b/rsync.h
index
731f4fe
..
efa42c8
100644
(file)
--- a/
rsync.h
+++ b/
rsync.h
@@
-692,10
+692,10
@@
extern int xattrs_ndx;
#define F_LENGTH(f) ((int64)(f)->len32)
#else
#define F_LENGTH(f) ((int64)(f)->len32 + ((f)->flags & FLAG_LENGTH64 \
#define F_LENGTH(f) ((int64)(f)->len32)
#else
#define F_LENGTH(f) ((int64)(f)->len32 + ((f)->flags & FLAG_LENGTH64 \
- ? (int64)OPT_EXTRA(f,
0
)->unum << 32 : 0))
+ ? (int64)OPT_EXTRA(f,
NSEC_BUMP(f)
)->unum << 32 : 0))
#endif
#endif
-#define F_MOD_NSEC(f) ((f)->flags & FLAG_MOD_NSEC ? OPT_EXTRA(f,
LEN64_BUMP(f)
)->unum : 0)
+#define F_MOD_NSEC(f) ((f)->flags & FLAG_MOD_NSEC ? OPT_EXTRA(f,
0
)->unum : 0)
/* If there is a symlink string, it is always right after the basename */
#define F_SYMLINK(f) ((f)->basename + strlen((f)->basename) + 1)
/* If there is a symlink string, it is always right after the basename */
#define F_SYMLINK(f) ((f)->basename + strlen((f)->basename) + 1)