From ca8cb48d02ed234418f5eda94118f04b8c4aa3dd Mon Sep 17 00:00:00 2001 From: Sergey Poznyakoff Date: Sun, 17 Nov 2013 17:35:01 +0200 Subject: [PATCH] Fix star compatibility (sparse headers) * src/sparse.c (star_get_sparse_info): Update file->dumped_size --- src/sparse.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/sparse.c b/src/sparse.c index 417d4ff..f0268f4 100644 --- a/src/sparse.c +++ b/src/sparse.c @@ -809,6 +809,7 @@ star_get_sparse_info (struct tar_sparse_file *file) set_next_block_after (h); for (i = 0; i < SPARSES_IN_STAR_EXT_HEADER && rc == add_ok; i++) rc = oldgnu_add_sparse (file, &h->star_ext_header.sp[i]); + file->dumped_size += BLOCKSIZE; } if (rc == add_fail) -- 2.45.2