summaryrefslogtreecommitdiff
path: root/rsync.h
diff options
context:
space:
mode:
authorWayne Davison <wayne@opencoder.net>2021-10-10 13:32:19 -0700
committerWayne Davison <wayne@opencoder.net>2021-10-10 13:39:09 -0700
commitb774dbc1c0f27aea40d112c0c96a29a0cd1661da (patch)
tree5ba9ec866fe213320f15fecba3792a1646422f55 /rsync.h
parent296352ecb0175fa3c37de550dd57aeff39632095 (diff)
downloadrsync-b774dbc1c0f27aea40d112c0c96a29a0cd1661da.tar.gz
Improve --omit-dir-times & --omit-link-times
The code now better handles skipping time setting on dirs and/or links when --atimes and/or --crtimes is specified without --times.
Diffstat (limited to 'rsync.h')
-rw-r--r--rsync.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/rsync.h b/rsync.h
index 1fe4a12f..a6c0d1bb 100644
--- a/rsync.h
+++ b/rsync.h
@@ -1327,10 +1327,6 @@ extern int errno;
#define IS_SPECIAL(mode) (S_ISSOCK(mode) || S_ISFIFO(mode))
#define IS_DEVICE(mode) (S_ISCHR(mode) || S_ISBLK(mode))
-#define PRESERVE_FILE_TIMES (1<<0)
-#define PRESERVE_DIR_TIMES (1<<1)
-#define PRESERVE_LINK_TIMES (1<<2)
-
/* Initial mask on permissions given to temporary files. Mask off setuid
bits and group access because of potential race-condition security
holes, and mask other access because mode 707 is bizarre */