]> Dogcows Code - chaz/tar/commitdiff
(extract_archive): Do not check for EXTRACT_OVER_PIPE, decode_options() does this.
authorSergey Poznyakoff <gray@gnu.org.ua>
Sat, 5 Feb 2005 22:01:08 +0000 (22:01 +0000)
committerSergey Poznyakoff <gray@gnu.org.ua>
Sat, 5 Feb 2005 22:01:08 +0000 (22:01 +0000)
src/extract.c

index b1ca4e5c14891009e23faff4a81089a0bd2ffba4..e8f8f1fcd17976982c6979fdb6f612a910a0c3f3 100644 (file)
@@ -981,8 +981,6 @@ typedef int (*tar_extractor_t) (char *file_name, int typeflag);
 
 \f
 
-#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;
This page took 0.026012 seconds and 4 git commands to generate.