From: Sergey Poznyakoff Date: Sat, 5 Feb 2005 22:01:08 +0000 (+0000) Subject: (extract_archive): Do not check for EXTRACT_OVER_PIPE, decode_options() does this. X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=ea12939af081f1a8bd7af36af6ec8b1a2dcbf006;hp=9a71d32d2f16989a8c82d3946d4f7ecd6093a55a;p=chaz%2Ftar (extract_archive): Do not check for EXTRACT_OVER_PIPE, decode_options() does this. --- diff --git a/src/extract.c b/src/extract.c index b1ca4e5..e8f8f1f 100644 --- a/src/extract.c +++ b/src/extract.c @@ -981,8 +981,6 @@ typedef int (*tar_extractor_t) (char *file_name, int typeflag); -#define EXTRACT_OVER_PIPE (to_stdout_option || to_command_option) - /* Prepare to extract a file. Find extractor function. Return zero if extraction should not proceed. */ @@ -1149,7 +1147,7 @@ extract_archive (void) /* Take a safety backup of a previously existing file. */ - if (backup_option && ! EXTRACT_OVER_PIPE) + if (backup_option) if (!maybe_backup_file (file_name, 0)) { int e = errno;