]> Dogcows Code - chaz/tar/commit
--atime-preserve=replace: fix correctness and performance bugs
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 7 Mar 2011 23:40:32 +0000 (15:40 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 7 Mar 2011 23:40:56 +0000 (15:40 -0800)
commit881e5626c5db79d825a45ba15aecec9087bcd8b9
tree9b7c5bf0692a5a3cecb23445d427be1141e0b41f
parent67ae04ba3177328695575fccf2f3614b9531c255
--atime-preserve=replace: fix correctness and performance bugs

reported by Eric Blake in
<http://lists.gnu.org/archive/html/bug-tar/2011-03/msg00000.html>.
* src/compare.c (diff_file): Do not restore atime of size-zero files.
* src/create.c (dump_file0): Likewise.  Also, do not restore atime
when fd is zero, because that indicates a file we haven't opened.
src/compare.c
src/create.c
This page took 0.022635 seconds and 4 git commands to generate.