X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=src%2Fcreate.c;h=43b5a4c23ab1140f38180d02e2b140c9886bd031;hb=611bb77195d282aba387277d9f58377e7c557f89;hp=e8de6b92463708620ed2abc937f24550d3b5020a;hpb=2282251cf16c266ff1609ec29f79779a8e037e26;p=debian%2Ftar diff --git a/src/create.c b/src/create.c index e8de6b92..43b5a4c2 100644 --- 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); }