]> git.wh0rd.org - dump.git/commitdiff
Force restore -C to imply -N
authorStelian Pop <stelian@popies.net>
Fri, 14 Jan 2005 13:04:56 +0000 (13:04 +0000)
committerStelian Pop <stelian@popies.net>
Fri, 14 Jan 2005 13:04:56 +0000 (13:04 +0000)
CHANGES
restore/main.c

diff --git a/CHANGES b/CHANGES
index cdeb39609fc8023626e3fd241b3588c39803901f..91f827e549898f08815b21bceadf5e7e5915701b 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,4 +1,4 @@
-$Id: CHANGES,v 1.267 2005/01/14 13:04:07 stelian Exp $
+$Id: CHANGES,v 1.268 2005/01/14 13:04:56 stelian Exp $
 
 Changes between versions 0.4b38 and 0.4b39 (released ???????????????)
 =====================================================================
@@ -24,6 +24,9 @@ Changes between versions 0.4b38 and 0.4b39 (released ???????????????)
        <shiva@sewingwitch.com> for finding the bug and helping me
        reproduce it.
 
+5.     Made restore -C force the -N flag (no writing allowed on
+       the disk) in order to prevent more bugs like the above one.
+
 Changes between versions 0.4b37 and 0.4b38 (released January 7, 2005)
 =====================================================================
 
index 0f43cb7e1de0f64d4f7637d1dce2032708aa8054..dfbe8c6ce557ca18d282e67c290b0f8f0ad911ef 100644 (file)
@@ -37,7 +37,7 @@
 
 #ifndef lint
 static const char rcsid[] =
-       "$Id: main.c,v 1.48 2005/01/13 15:41:06 stelian Exp $";
+       "$Id: main.c,v 1.49 2005/01/14 13:04:56 stelian Exp $";
 #endif /* not lint */
 
 #include <config.h>
@@ -424,6 +424,7 @@ main(int argc, char *argv[])
                Vprintf(stdout, "Begin compare restore\n");
                compare_ignore_not_found = 0;
                compare_errors = 0;
+               Nflag = 1;
                setup();
                printf("filesys = %s\n", filesys);
                if (STAT(filesys, &stbuf) < 0)