Displaying 1 result from an estimated 1 matches for "copy_atimes".
2004 Apr 20
1
improved atime patch
...======
RCS file: /cvsroot/rsync/generator.c,v
retrieving revision 1.79
diff -u -w -r1.79 generator.c
--- generator.c 15 Apr 2004 16:55:23 -0000 1.79
+++ generator.c 20 Apr 2004 21:06:18 -0000
@@ -50,6 +50,7 @@
extern int only_existing;
extern int orig_umask;
extern int safe_symlinks;
+extern int copy_atimes;
/* choose whether to skip a particular file */
@@ -97,7 +98,11 @@
return 0;
}
- return (cmp_modtime(st->st_mtime,file->modtime) == 0);
+ if (copy_atimes && cmp_time(st->st_atime,file->atime) != 0) {
+ return 0;
+ }
+
+ return (cmp_time(s...