]> git.ipfire.org Git - thirdparty/tar.git/commit
Fix spurious "Not found in archive" errors.
authorSergey Poznyakoff <gray@gnu.org>
Wed, 14 May 2025 12:17:09 +0000 (15:17 +0300)
committerSergey Poznyakoff <gray@gnu.org>
Wed, 14 May 2025 12:28:55 +0000 (15:28 +0300)
commit430306673049f4ce8cc9db7578cd6e1f4200a9c2
tree838c66b51d71c2d2619b82e2f7a504867c22b2c2
parent9324b472b045508245cfedfdd029e8865a69f054
Fix spurious "Not found in archive" errors.

* src/names.c (namelist_match_from): New function.
(namelist_match): Rewrite as a wrapper over it.
(register_match): New function.
(name_match)" Update all possible matches in the name list.

* tests/extrac29.at: New test.
* tests/Makefile.am: Add new test.
* tests/testsuite.at: Likewise.
src/names.c
tests/Makefile.am
tests/extrac29.at [new file with mode: 0644]
tests/testsuite.at