]> git.ipfire.org Git - thirdparty/tar.git/commit
Fix the --delay-directory-restore option
authorSergey Poznyakoff <gray@gnu.org.ua>
Thu, 16 Nov 2017 09:26:44 +0000 (11:26 +0200)
committerSergey Poznyakoff <gray@gnu.org.ua>
Thu, 16 Nov 2017 09:34:13 +0000 (11:34 +0200)
commit3ae075a51a6c20032a8908615d014e07b750c069
tree6071362efe20212412d028ee84acf43492ee1733
parent1bf590ab2da3c40d68d2b4167e494c786ffda6e7
Fix the --delay-directory-restore option

* src/extract.c (find_direct_ancestor): New function.
(create_placeholder_file): Set after_links member on delayed_set_stat
entries starting from the direct ancestor of the placeholder file.

* tests/extrac21.at: New testcase.
* tests/testsuite.at: Add extrac21
* tests/Makefile.am: Likewise.

* NEWS: Update.
NEWS
src/extract.c
tests/Makefile.am
tests/extrac21.at [new file with mode: 0644]
tests/testsuite.at