Paul Eggert
b8d8a61b25
Fix more -t/-x discrepancies
...
Problem reported by Guillermo de Angel in:
https://lists.gnu.org/r/bug-tar/2026-03/msg00007.html
* THANKS: Add him, and sort.
* src/extract.c (extract_dir, extract_file):
* src/incremen.c (purge_directory):
Do not call skip_member, as the caller now does that, and does it
more reliably.
* src/extract.c (extract_file):
Mark file as skipped when we’ve read it.
(extract_archive): Always call skip_member after extracting,
as it suppresses the skip as needed.
* src/incremen.c (try_purge_directory): Remove; no longer
needed. Move internals to purge_directory.
* src/list.c (read_header): Do not treat LNKTYPE header as having
size zero, as it can be nonzero (e.g., ‘pax -o linkdata’).
Set info->skipped field according to how the header was read.
(member_is_dir): Remove; no longer needed.
(skim_member): Skip directory data too, unless it’s already been
skipped (i.e., read).
* tests/extrac32.at: New file.
* tests/Makefile.am (TESTSUITE_AT):
* tests/testsuite.at:
Add it.
* tests/skipdir.at (skip directory members):
Fix test to match the correct behavior.
This fixes a bug introduced in commit
b009124ffd
dated 2025-05-12 17:17:21 +0300.
2026-03-22 12:23:55 -07:00
..
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2018-04-07 10:32:38 +03:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-03-22 12:23:55 -07:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-03-12 12:31:55 -07:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-03-22 12:23:55 -07:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-03-22 12:23:55 -07:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-03-22 12:23:55 -07:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00
2026-01-23 17:38:38 -08:00