]> Dogcows Code - chaz/tar/blobdiff - src/extract.c
(set_stat): Rewrite to avoid bug in Forte
[chaz/tar] / src / extract.c
index d826371683a62a2f4d4ca5160a0a3f49974b75c4..2689f547684a317574927089cb6069f9fc770376 100644 (file)
@@ -262,7 +262,10 @@ set_stat (char const *file_name,
          /* FIXME: incremental_option should set ctime too, but how?  */
 
          struct timespec ts[2];
-         ts[0] = incremental_option ? st->atime : start_time;
+         if (incremental_option)
+           ts[0] = st->atime;
+         else
+           ts[0] = start_time;
          ts[1] = st->mtime;
 
          if (utimens (file_name, ts) != 0)
This page took 0.020704 seconds and 4 git commands to generate.