Minor fix

This commit is contained in:
Sergey Poznyakoff
2003-12-01 21:28:11 +00:00
parent fa2801b6dc
commit 5f32345fe6

View File

@@ -602,7 +602,8 @@ extract_archive (void)
typeflag = current_header->header.typeflag;
/*KLUDGE */
if (current_stat_info.archive_file_size != current_stat_info.stat.st_size)
if (current_format == POSIX_FORMAT
&& current_stat_info.archive_file_size != current_stat_info.stat.st_size)
typeflag = GNUTYPE_SPARSE;
switch (typeflag)