tar: fix bug with sparse files with effective size of 8 GiB or more

Reported by Pavel Raiskup in
<http://lists.gnu.org/archive/html/bug-tar/2013-01/msg00001.html>.
* NEWS: Document the fix.
* src/sparse.c (pax_start_header): New function.
(pax_dump_header_0, pax_dump_header_1): Use it.
This commit is contained in:
Paul Eggert
2013-01-26 09:54:02 -08:00
parent cd7bdd4076
commit 2f6c03cba2
2 changed files with 22 additions and 7 deletions
+8 -1
View File
@@ -1,9 +1,16 @@
GNU tar NEWS - User visible changes. 2013-01-01
GNU tar NEWS - User visible changes. 2013-01-26
Please send GNU tar bug reports to <bug-tar@gnu.org>
version 1.26.90 (Git)
* Bug fixes
** Sparse files with large data
When creating a PAX-format archive, tar no longer arbitrarily restricts
the size of the representation of a sparse file to be less than 8 GiB.
* Quoting
In the default C locale, diagnostics and output of 'tar' have been