[BACK]Return to receiver.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / rsync

Diff for /src/usr.bin/rsync/receiver.c between version 1.31 and 1.32

version 1.31, 2021/10/24 21:24:17 version 1.32, 2023/11/27 11:30:49
Line 114 
Line 114 
   
         /* 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;

Legend:
Removed from v.1.31  
changed lines
  Added in v.1.32