search for: acctime

Displaying 2 results from an estimated 2 matches for "acctime".

Did you mean: actime
2006 Jan 24
1
propagate atimes with rsync-2.6.6 (fwd)
...0 @@ -54,6 +54,7 @@ extern int implied_dirs; extern int copy_links; extern int copy_unsafe_links; +extern int remote_protocol; extern int protocol_version; extern int sanitize_paths; extern int orig_umask; @@ -314,6 +315,7 @@ { unsigned short flags; static time_t modtime; + static time_t acctime; static mode_t mode; static int64 dev; static dev_t rdev; @@ -329,7 +331,7 @@ if (!file) { write_byte(f, 0); - modtime = 0, mode = 0; + modtime = 0, acctime = 0, mode = 0; dev = 0, rdev = makedev(0, 0); rdev_major = 0; uid = 0, gid = 0; @@ -379,6 +381,8 @@ else modtime...
2002 Sep 10
0
[PATCH] Add --preserve-atime switch to rsync
...e_atime; /* receive the checksums for a buffer */ *************** *** 184,189 **** --- 197,204 ---- rprintf(FERROR,"fstat failed : %s\n",strerror(errno)); free_sums(s); close(fd); + if (preserve_atime) + set_modtime(fname, file->modtime, file->acctime); return; } *************** *** 266,271 **** --- 281,288 ---- if (!read_batch) { /* dw */ if (buf) unmap_file(buf); close(fd); + if (preserve_atime) + set_modtime(fname, file->modtime, file->acctime); } free_sums(s); *** util.c@@/ma...