From ae00dc0d37baef4504408c9ce03997781b735d41 Mon Sep 17 00:00:00 2001 From: Sergey Poznyakoff Date: Thu, 1 Dec 2005 12:51:20 +0000 Subject: [PATCH] (purge_directory): Skip the member and return if the archive is not in incremental format. --- src/incremen.c | 6 ++++++ 1 file changed, 6 insertions(+) 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) -- 2.45.2