]> Dogcows Code - chaz/tar/commitdiff
(start_header): Check for GNU_FORMAT if incremental_option is set.
authorSergey Poznyakoff <gray@gnu.org.ua>
Mon, 22 Mar 2004 09:16:49 +0000 (09:16 +0000)
committerSergey Poznyakoff <gray@gnu.org.ua>
Mon, 22 Mar 2004 09:16:49 +0000 (09:16 +0000)
src/create.c

index 065e6fafd511fcb454b891cef56c43a91b4d7bba..4c954c46012c38d7f4953518caabdbfffb03f6e6 100644 (file)
@@ -668,7 +668,7 @@ start_header (struct tar_stat_info *st)
       xheader_store ("ctime", st, NULL);
     }
   else if (incremental_option)
-    if (archive_format == OLDGNU_FORMAT)
+    if (archive_format == OLDGNU_FORMAT || archive_format == GNU_FORMAT)
       {
        TIME_TO_CHARS (st->stat.st_atime, header->oldgnu_header.atime);
        TIME_TO_CHARS (st->stat.st_ctime, header->oldgnu_header.ctime);
This page took 0.026362 seconds and 4 git commands to generate.