]> git.wh0rd.org - dump.git/commitdiff
Raised block size up to 1024 kB.
authorStelian Pop <stelian@popies.net>
Mon, 17 Feb 2003 10:31:44 +0000 (10:31 +0000)
committerStelian Pop <stelian@popies.net>
Mon, 17 Feb 2003 10:31:44 +0000 (10:31 +0000)
CHANGES
restore/tape.c

diff --git a/CHANGES b/CHANGES
index 659a36f826b91d8bc9c5c024e9f2bc1ceb51d868..b8593de11b2678360a3151d9eee60eec4a13a222 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,4 +1,4 @@
-$Id: CHANGES,v 1.216 2003/02/12 11:02:28 stelian Exp $
+$Id: CHANGES,v 1.217 2003/02/17 10:31:44 stelian Exp $
 
 Changes between versions 0.4b33 and 0.4b34 (released ?????????????????)
 =======================================================================
@@ -24,6 +24,10 @@ Changes between versions 0.4b33 and 0.4b34 (released ?????????????????)
        Thanks to Fabrice Bellet <fabrice@bellet.info> for reporting
        the bug.
 
+6.     Fixed restore corner case when dealing with large block sizes
+       dump is able to write now (-b 1024). Thanks to Fabrice Bellet
+       <fabrice@bellet.info> for reporting the bug.
+
 Changes between versions 0.4b32 and 0.4b33 (released February 10, 2003)
 =======================================================================
 
index 3db8f07fe5618d63bf7d6f354157b342697c5f0d..145bc653026512b689759411a32075073bbc3a2e 100644 (file)
@@ -46,7 +46,7 @@
 
 #ifndef lint
 static const char rcsid[] =
-       "$Id: tape.c,v 1.70 2003/02/12 11:02:30 stelian Exp $";
+       "$Id: tape.c,v 1.71 2003/02/17 10:31:45 stelian Exp $";
 #endif /* not lint */
 
 #include <config.h>
@@ -2657,7 +2657,7 @@ ReReadInodeFromTape(dump_ino_t theino)
        } while (!(spcl.c_inumber == theino && spcl.c_type == TS_INODE && spcl.c_date == dumpdate) && (cntloop < 32));
 #ifdef DEBUG_QFA
        fprintf(stderr, "%ld reads\n", cntloop);
-       if (cntloop == 32) {
+       if (cntloop == 1024) {
                fprintf(stderr, "DEBUG: bufsize %d\n", bufsize);
                fprintf(stderr, "DEBUG: ntrec %ld\n", ntrec);
                fprintf(stderr, "DEBUG: %ld reads\n", cntloop);