]> git.ipfire.org Git - thirdparty/tar.git/commit
Fix the logic of prepare_to_extract.
authorSergey Poznyakoff <gray@gnu.org>
Mon, 22 Jun 2020 19:17:46 +0000 (22:17 +0300)
committerSergey Poznyakoff <gray@gnu.org>
Mon, 22 Jun 2020 19:17:46 +0000 (22:17 +0300)
commit34d15af170a5d6e60b70979001e8940d9a382f35
treecd307d8c86a1da72d79f17fa54070df25bdd1333
parent63712973c77ede016d859760b18d272bd175fd8e
Fix the logic of prepare_to_extract.

* src/extract.c (prepare_to_extract): Return true to proceed with
the extraction, and false to skip the current member.  If extracting
over a pipe, skip unlinking logic.
(extract_archive): Update accordingly.
src/extract.c