Return to receiver.c CVS log | Up to [local] / src / usr.bin / rsync |
version 1.31, 2021/10/24 21:24:17 | version 1.32, 2023/11/27 11:30:49 | ||
---|---|---|---|
|
|
||
/* Conditionally adjust file modification time. */ | /* Conditionally adjust file modification time. */ | ||
if (sess->opts->preserve_times) { | if (sess->opts->preserve_times && | ||
!(S_ISLNK(f->st.mode) && sess->opts->ignore_link_times)) { | |||
ts[0].tv_nsec = UTIME_NOW; | ts[0].tv_nsec = UTIME_NOW; | ||
ts[1].tv_sec = f->st.mtime; | ts[1].tv_sec = f->st.mtime; | ||
ts[1].tv_nsec = 0; | ts[1].tv_nsec = 0; |