summaryrefslogtreecommitdiff
path: root/t_stub.c
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 /t_stub.c
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 't_stub.c')
-rw-r--r--t_stub.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/t_stub.c b/t_stub.c
index ea2013d3..12f7b622 100644
--- a/t_stub.c
+++ b/t_stub.c
@@ -29,10 +29,11 @@ int protect_args = 0;
int module_id = -1;
int relative_paths = 0;
int module_dirlen = 0;
-int preserve_times = 0;
+int preserve_mtimes = 0;
int preserve_xattrs = 0;
int preserve_perms = 0;
int preserve_executability = 0;
+int omit_link_times = 0;
int open_noatime = 0;
size_t max_alloc = 0; /* max_alloc is needed when combined with util2.o */
char *partial_dir;