search for: preserve_access_times

Displaying 1 result from an estimated 1 matches for "preserve_access_times".

2001 Sep 01
3
Patch to make rsync preserve access times
...file->accesstime == last_access_time) flags |= SAME_ACCESS_TIME; > > for (l1=0;lastname[l1] && (fname[l1] == lastname[l1]) && (l1 < 255);l1++) ; > l2 = strlen(fname) - l1; Setting this additional flag bit, SAME_ACCESS_TIME, should probably only be done if (preserve_access_times && remote_version >= 25), to ensure maximum compatibility with earlier protocol versions that won't expect the extra bit. Also, it would minimize the impact of this change when the feature is not explicitly requested. I.e... + if (preserve_access_times && remote_version &gt...