From: Sergey Poznyakoff Date: Sat, 3 Jan 2004 11:44:45 +0000 (+0000) Subject: (sparse_diff_file): Bugfix. Thanks Martin Simmons for the patch. X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=b74232b9ad8d8c74c94066fc51f7807df0fb53a8;p=chaz%2Ftar (sparse_diff_file): Bugfix. Thanks Martin Simmons for the patch. --- diff --git a/src/sparse.c b/src/sparse.c index 52ed771..a661ab1 100644 --- a/src/sparse.c +++ b/src/sparse.c @@ -489,7 +489,7 @@ sparse_diff_file (int fd, struct tar_stat_info *stat) + file.stat_info->sparse_map[i].numbytes; } - if (rc) + if (!rc) skip_file (file.stat_info->archive_file_size - file.dumped_size); tar_sparse_done (&file);