From: Sergey Poznyakoff Date: Mon, 22 Mar 2004 09:16:49 +0000 (+0000) Subject: (start_header): Check for GNU_FORMAT if incremental_option is set. X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=e5882c8220222cf238264c77ffca95aa166f5830;p=chaz%2Ftar (start_header): Check for GNU_FORMAT if incremental_option is set. --- diff --git a/src/create.c b/src/create.c index 065e6fa..4c954c4 100644 --- a/src/create.c +++ b/src/create.c @@ -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);