}
if (!preserve_times || S_ISLNK(st->st_mode))
- flags |= PERMS_SKIP_TIME;
- if (!(flags & PERMS_SKIP_TIME)
+ flags |= PERMS_SKIP_MTIME;
+ if (!(flags & PERMS_SKIP_MTIME)
&& cmp_modtime(st->st_mtime, file->modtime) != 0) {
/* don't complain about not setting times on directories
* because some filesystems can't do it */
do_unlink(fnametmp);
} else {
set_perms(fname, file, NULL,
- ok_to_set_time ? 0 : PERMS_SKIP_TIME);
+ ok_to_set_time ? 0 : PERMS_SKIP_MTIME);
}
}
#define XFLG_WORDS_ONLY (1<<2)
#define XFLG_WORD_SPLIT (1<<3)
-#define PERMS_REPORT (1<<0)
-#define PERMS_SKIP_TIME (1<<1)
+#define PERMS_REPORT (1<<0)
+#define PERMS_SKIP_MTIME (1<<1)
#define FULL_FLUSH 1
#define NORMAL_FLUSH 0