diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2011-03-07 15:40:32 -0800 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2011-03-07 15:40:56 -0800 |
commit | 881e5626c5db79d825a45ba15aecec9087bcd8b9 (patch) | |
tree | 9b7c5bf0692a5a3cecb23445d427be1141e0b41f /directory | |
parent | 67ae04ba3177328695575fccf2f3614b9531c255 (diff) | |
download | tar-881e5626c5db79d825a45ba15aecec9087bcd8b9.tar.gz |
--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.
Diffstat (limited to 'directory')
0 files changed, 0 insertions, 0 deletions