]> Dogcows Code - chaz/tar/commitdiff
(extract_file): Call skip_member if open fails.
authorSergey Poznyakoff <gray@gnu.org.ua>
Thu, 7 Dec 2006 14:33:54 +0000 (14:33 +0000)
committerSergey Poznyakoff <gray@gnu.org.ua>
Thu, 7 Dec 2006 14:33:54 +0000 (14:33 +0000)
Patch proposed by Jan-Benedict Glaw <jbglaw@lug-owl.de>

src/extract.c

index c699cb239abff2828ec24f44576f6d4b9588f0b6..387ebb977722d64b4fa5776cac3fff7bfa7e9696 100644 (file)
@@ -766,6 +766,7 @@ extract_file (char *file_name, int typeflag)
 
       if (fd < 0)
        {
 
       if (fd < 0)
        {
+         skip_member ();
          open_error (file_name);
          return 1;
        }
          open_error (file_name);
          return 1;
        }
This page took 0.025085 seconds and 4 git commands to generate.