From e5882c8220222cf238264c77ffca95aa166f5830 Mon Sep 17 00:00:00 2001 From: Sergey Poznyakoff Date: Mon, 22 Mar 2004 09:16:49 +0000 Subject: [PATCH] (start_header): Check for GNU_FORMAT if incremental_option is set. --- src/create.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.44.0