From 5f32345fe6ac3bc877b808ff096df1bc26b3eb2b Mon Sep 17 00:00:00 2001 From: Sergey Poznyakoff Date: Mon, 1 Dec 2003 21:28:11 +0000 Subject: [PATCH] Minor fix --- src/extract.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/extract.c b/src/extract.c index 29b8e9b..84e4ecd 100644 --- a/src/extract.c +++ b/src/extract.c @@ -601,9 +601,10 @@ extract_archive (void) /* Extract the archive entry according to its type. */ typeflag = current_header->header.typeflag; - /*KLUDGE*/ - if (current_stat_info.archive_file_size != current_stat_info.stat.st_size) - typeflag = GNUTYPE_SPARSE; + /*KLUDGE */ + if (current_format == POSIX_FORMAT + && current_stat_info.archive_file_size != current_stat_info.stat.st_size) + typeflag = GNUTYPE_SPARSE; switch (typeflag) { -- 2.45.2