diff options
author | Wayne Davison <wayne@opencoder.net> | 2020-06-13 02:32:15 -0700 |
---|---|---|
committer | Wayne Davison <wayne@opencoder.net> | 2020-06-13 02:41:30 -0700 |
commit | d32696129097fcc2c0560da2f6b1d481b854a2b9 (patch) | |
tree | 71ffdbb26de5673ca1b5d878ef782637c870ceb9 /rsync.h | |
parent | 7dec4029ee4580e5990c062f0b3093e39f800fbf (diff) | |
download | rsync-d32696129097fcc2c0560da2f6b1d481b854a2b9.tar.gz |
Fix overzealous setting of mtime & tweak time comparisons
- Stop setting the mtime on a file we didn't transfer (or didn't verify
the checksum) when the time diff is within the modify window.
- Stop computing a time difference (-1|0|1) when all we care about is
time equality.
Diffstat (limited to 'rsync.h')
-rw-r--r-- | rsync.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -175,7 +175,7 @@ #define ATTRS_REPORT (1<<0) #define ATTRS_SKIP_MTIME (1<<1) -#define ATTRS_SET_NANO (1<<2) +#define ATTRS_ACCURATE_TIME (1<<2) #define ATTRS_SKIP_ATIME (1<<3) #define MSG_FLUSH 2 |