X-Git-Url: https://git.brokenzipper.com/gitweb?a=blobdiff_plain;f=src%2Fsparse.c;h=0955248c492a9e75cb767edd81d17693cfde9bb0;hb=2e9ea5f4a775e25267ff6892f98f491c7f4a21cd;hp=1d18b20d78d269a9703b24476e3ab74499441f8b;hpb=225e690142046de8bb8bf404751948d71bf804d5;p=chaz%2Ftar diff --git a/src/sparse.c b/src/sparse.c index 1d18b20..0955248 100644 --- a/src/sparse.c +++ b/src/sparse.c @@ -845,7 +845,7 @@ static struct tar_sparse_optab const star_optab = { static bool pax_sparse_member_p (struct tar_sparse_file *file) { - return file->stat_info->archive_file_size != file->stat_info->stat.st_size; + return file->stat_info->sparse_map_avail > 0; } static bool