From d32696129097fcc2c0560da2f6b1d481b854a2b9 Mon Sep 17 00:00:00 2001 From: Wayne Davison Date: Sat, 13 Jun 2020 02:32:15 -0700 Subject: 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. --- rsync.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rsync.h') 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 -- cgit v1.2.1