Fix savannah bug #60002
Bug was introduced by commit 34d15af1.
* src/extract.c (prepare_to_extract): When extracting over pipe,
process only regular files.
* tests/extrac24.at: New test case.
* tests/Makefile.am: Add new test case.
* tests/testsuite.at: Likewise.
This commit is contained in:
@@ -1708,7 +1708,12 @@ prepare_to_extract (char const *file_name, int typeflag, tar_extractor_t *fun)
|
||||
extractor = extract_file;
|
||||
}
|
||||
|
||||
if (!EXTRACT_OVER_PIPE)
|
||||
if (EXTRACT_OVER_PIPE)
|
||||
{
|
||||
if (extractor != extract_file)
|
||||
return false;
|
||||
}
|
||||
else
|
||||
{
|
||||
switch (old_files_option)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user