mirror of
https://git.savannah.gnu.org/git/tar.git
synced 2026-09-21 07:34:13 +00:00
(tar_sparse_init): Fix recent bugfixes: Initialize dumped_size to 0.
This commit is contained in:
@@ -102,6 +102,7 @@ tar_sparse_member_p (struct tar_sparse_file *file)
|
|||||||
static bool
|
static bool
|
||||||
tar_sparse_init (struct tar_sparse_file *file)
|
tar_sparse_init (struct tar_sparse_file *file)
|
||||||
{
|
{
|
||||||
|
file->dumped_size = 0;
|
||||||
if (file->optab->init)
|
if (file->optab->init)
|
||||||
return file->optab->init (file);
|
return file->optab->init (file);
|
||||||
return true;
|
return true;
|
||||||
|
|||||||
Reference in New Issue
Block a user