diff options
author | Wayne Davison <wayned@samba.org> | 2005-01-27 21:55:11 +0000 |
---|---|---|
committer | Wayne Davison <wayned@samba.org> | 2005-01-27 21:55:11 +0000 |
commit | d41988232ed8f017fa6cc745fe855c54ede92171 (patch) | |
tree | aeaa4e7dbdfca6c865a61908a0d44b92d0fa1a4e /rsync.h | |
parent | 880570f2287326f4c4d3c65b1298af733a82de02 (diff) | |
download | rsync-d41988232ed8f017fa6cc745fe855c54ede92171.tar.gz rsync-d41988232ed8f017fa6cc745fe855c54ede92171.tar.bz2 rsync-d41988232ed8f017fa6cc745fe855c54ede92171.zip |
- Added a caveat to the definition of the int64 type.
- Added two time values to the stats struct.
Diffstat (limited to 'rsync.h')
-rw-r--r-- | rsync.h | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -326,6 +326,12 @@ enum msgcode { #define STRUCT_STAT struct stat #endif +/* CAVEAT: on some systems, int64 will really be a 32-bit integer IFF + * that's the maximum size the file system can handle and there is no + * 64-bit type available. The rsync source must therefore take steps + * to ensure that any code that really requires a 64-bit integer has + * it (e.g. the checksum code uses two 32-bit integers for its 64-bit + * counter). */ #if HAVE_OFF64_T #define int64 off64_t #elif (SIZEOF_LONG == 8) @@ -540,6 +546,8 @@ struct stats { int64 total_read; int64 literal_data; int64 matched_data; + int64 flist_buildtime; + int64 flist_xfertime; int flist_size; int num_files; int num_transferred_files; |