summaryrefslogtreecommitdiff
path: root/rsync.h
diff options
context:
space:
mode:
authorWayne Davison <wayne@opencoder.net>2020-06-13 02:32:15 -0700
committerWayne Davison <wayne@opencoder.net>2020-06-13 02:41:30 -0700
commitd32696129097fcc2c0560da2f6b1d481b854a2b9 (patch)
tree71ffdbb26de5673ca1b5d878ef782637c870ceb9 /rsync.h
parent7dec4029ee4580e5990c062f0b3093e39f800fbf (diff)
downloadrsync-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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/rsync.h b/rsync.h
index f5350da8..e5394a8e 100644
--- a/rsync.h
+++ b/rsync.h
@@ -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