Correctly store long sparse file names in PAX archives.

* src/sparse.c (pax_dump_header_1): Make sure the created header name is
shorter than NAME_FIELD_SIZE bytes.
* tests/sparse04.at: New testcase.
* tests/Makefile.am (TESTSUITE_AT): Add sparse04.at.
* tests/testsuite.at: Include sparse04.at.
* NEWS: Update.
This commit is contained in:
Sergey Poznyakoff
2010-11-27 14:35:08 +02:00
parent ec586b37e0
commit bb0af96c54
5 changed files with 57 additions and 4 deletions

3
NEWS
View File

@@ -1,4 +1,4 @@
GNU tar NEWS - User visible changes. 2010-11-14
GNU tar NEWS - User visible changes. 2010-11-27
Please send GNU tar bug reports to <bug-tar@gnu.org>
@@ -6,6 +6,7 @@ version 1.25.90 - (Git)
* Bugfixes
** Fix the --verify option, which broke in version 1.24.
** Fix storing long sparse file names in PAX archives.
version 1.25 - Sergey Poznyakoff, 2010-11-07