X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=src%2Fsparse.c;h=b10daf6f69136f00367b087a02e05e7387938815;hb=f218c29b13a1db019cca2e4016956e39ca87e051;hp=d4816f80ca758810c285dd5e9ba4b291808aeb33;hpb=2bda83b48d8a6807632312403561b11b79048443;p=chaz%2Ftar diff --git a/src/sparse.c b/src/sparse.c index d4816f8..b10daf6 100644 --- a/src/sparse.c +++ b/src/sparse.c @@ -16,7 +16,7 @@ with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -#include "system.h" +#include #include #include "common.h" @@ -189,7 +189,7 @@ sparse_scan_file (struct tar_sparse_file *file) return false; clear_block (buffer); - file->stat_info->sparse_map_size = 0; + file->stat_info->sparse_map_avail = 0; file->stat_info->archive_file_size = 0; if (!tar_sparse_scan (file, scan_begin, NULL)) @@ -626,7 +626,7 @@ oldgnu_get_sparse_info (struct tar_sparse_file *file) int ext_p; static enum oldgnu_add_status rc; - file->stat_info->sparse_map_size = 0; + file->stat_info->sparse_map_avail = 0; for (i = 0; i < SPARSES_IN_OLDGNU_HEADER; i++) { rc = oldgnu_add_sparse (file, &h->oldgnu_header.sp[i]); @@ -752,7 +752,7 @@ star_get_sparse_info (struct tar_sparse_file *file) int ext_p; static enum oldgnu_add_status rc; - file->stat_info->sparse_map_size = 0; + file->stat_info->sparse_map_avail = 0; if (h->star_in_header.prefix[0] == '\0' && h->star_in_header.sp[0].offset[10] != '\0')