From: Sergey Poznyakoff Date: Sun, 4 Apr 2004 09:25:30 +0000 (+0000) Subject: (diff_archive): Use is_sparse member instead of GNUTYPE_SPARSE. X-Git-Url: https://git.dogcows.com/gitweb?a=commitdiff_plain;h=be48ff0699a4ea9229ebe9e32eab39d125ecf39b;p=chaz%2Ftar (diff_archive): Use is_sparse member instead of GNUTYPE_SPARSE. --- diff --git a/src/compare.c b/src/compare.c index 5a91b90..03eead5 100644 --- a/src/compare.c +++ b/src/compare.c @@ -279,7 +279,7 @@ diff_archive (void) /* Need to treat sparse files completely differently here. */ - if (current_header->header.typeflag == GNUTYPE_SPARSE) + if (current_stat_info.is_sparse) sparse_diff_file (diff_handle, ¤t_stat_info); else {