Fix exclusion of long file names when extracting from pax format archives.
commit9c194c9942b651befe1fa65ba9023fba9e50169f
authorSergey Poznyakoff <gray@gnu.org.ua>
Mon, 28 Jun 2010 13:56:54 +0000 (28 16:56 +0300)
committerSergey Poznyakoff <gray@gnu.org.ua>
Mon, 28 Jun 2010 13:56:54 +0000 (28 16:56 +0300)
tree8822b59cf8ccf44943fd7aff0b48b7ad4504cc06
parent80a6ef7d94ce144db0249384e55846baa404f4dd
Fix exclusion of long file names when extracting from pax format archives.

* src/list.c (read_and): Call decode_header before attempting
name_match.
(list_archive): Remove call to decode_header.

* src/compare.c (diff_archive): Remove call to decode_header.
* src/extract.c (extract_archive): Likewise.

* test/exclude06.at: New test case.
* tests/testsuite.at: Include exclude06.at.
* tests/Makefile.am (TESTSUITE_AT): Add exclude06.at.
src/compare.c
src/extract.c
src/list.c
tests/Makefile.am
tests/exclude06.at [new file with mode: 0644]
tests/testsuite.at