From 03dbfe054895f3654586eb1563f6baf4dd893890 Mon Sep 17 00:00:00 2001 From: Stelian Pop Date: Thu, 17 Apr 2008 15:22:56 +0000 Subject: [PATCH] In restore -C, encountering an unexpected file is not an error. --- CHANGES | 7 ++++++- restore/restore.c | 3 +-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/CHANGES b/CHANGES index fac37c9..77981df 100644 --- a/CHANGES +++ b/CHANGES @@ -1,4 +1,4 @@ -$Id: CHANGES,v 1.288 2008/04/17 15:19:12 stelian Exp $ +$Id: CHANGES,v 1.289 2008/04/17 15:22:56 stelian Exp $ Changes between versions 0.4b41 and 0.4b42 (released xxxxxxxxxxxxxxx) ===================================================================== @@ -28,6 +28,11 @@ Changes between versions 0.4b41 and 0.4b42 (released xxxxxxxxxxxxxxx) instead of libtermcap or libncurses libraries. Thanks to Adam Tkac for the patch. +7. When comparing a backup, do not consider to be an error the fact + that we encounter files created while dump was in progress. + Thanks to Kenneth Porter for the bug + report. + Changes between versions 0.4b40 and 0.4b41 (released January 2, 2006) ===================================================================== diff --git a/restore/restore.c b/restore/restore.c index 67a8465..c87b532 100644 --- a/restore/restore.c +++ b/restore/restore.c @@ -37,7 +37,7 @@ #ifndef lint static const char rcsid[] = - "$Id: restore.c,v 1.37 2005/07/07 09:16:08 stelian Exp $"; + "$Id: restore.c,v 1.38 2008/04/17 15:22:56 stelian Exp $"; #endif /* not lint */ #include @@ -716,7 +716,6 @@ compareleaves(void) if (first != curfile.ino) { fprintf(stderr, "expected next file %ld, got %lu\n", (long)first, (unsigned long)curfile.ino); - do_compare_error; skipfile(); goto next; } -- 2.39.2