From: Sergey Poznyakoff Date: Thu, 1 Dec 2005 12:51:20 +0000 (+0000) Subject: (purge_directory): Skip the member and return if the archive is not in incremental... X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=ae00dc0d37baef4504408c9ce03997781b735d41;p=chaz%2Ftar (purge_directory): Skip the member and return if the archive is not in incremental format. --- diff --git a/src/incremen.c b/src/incremen.c index cc5856a..e4645fa 100644 --- a/src/incremen.c +++ b/src/incremen.c @@ -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)