]> Dogcows Code - chaz/tar/commitdiff
(purge_directory): Skip the member and return if the archive is not in incremental...
authorSergey Poznyakoff <gray@gnu.org.ua>
Thu, 1 Dec 2005 12:51:20 +0000 (12:51 +0000)
committerSergey Poznyakoff <gray@gnu.org.ua>
Thu, 1 Dec 2005 12:51:20 +0000 (12:51 +0000)
src/incremen.c

index cc5856a5272569b9098081f4d0653581f81457b5..e4645fa1f16a5b007b3603672f220e9531c34e96 100644 (file)
@@ -681,6 +681,12 @@ purge_directory (char const *directory_name)
   char *current_dir;
   char *cur, *arc;
 
+  if (!current_stat_info.dumpdir)
+    {
+      skip_member ();
+      return;
+    }
+  
   current_dir = savedir (directory_name);
 
   if (!current_dir)
This page took 0.022787 seconds and 4 git commands to generate.