projects
/
debian
/
tar
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
we don't actually want the cleanup script in the Debian package branch
[debian/tar]
/
src
/
create.c
diff --git
a/src/create.c
b/src/create.c
index e8de6b92463708620ed2abc937f24550d3b5020a..43b5a4c23ab1140f38180d02e2b140c9886bd031 100644
(file)
--- a/
src/create.c
+++ b/
src/create.c
@@
-1797,6
+1797,7
@@
dump_file0 (struct tar_stat_info *st, char const *name, char const *p)
set_exit_status (TAREXIT_DIFFERS);
}
else if (atime_preserve_option == replace_atime_preserve
+ && fd && (is_dir || original_size != 0)
&& set_file_atime (fd, parentfd, name, st->atime) != 0)
utime_error (p);
}