]> git.wh0rd.org - dump.git/blobdiff - restore/symtab.c
Fix maps overflow in restore when doing incremental restores (and MAXINO becomes...
[dump.git] / restore / symtab.c
index 96dee35b32ef44d5d10b898ec6fae81b0d36b52b..3a6b1fbc6b31345577031e8fd7c8f6f7011be575 100644 (file)
@@ -41,7 +41,7 @@
 
 #ifndef lint
 static const char rcsid[] =
-       "$Id: symtab.c,v 1.19 2002/07/19 14:57:40 stelian Exp $";
+       "$Id: symtab.c,v 1.20 2002/11/15 09:25:42 stelian Exp $";
 #endif /* not lint */
 
 /*
@@ -611,6 +611,7 @@ initsymtable(char *filename)
                panic("initsymtable called from command %c\n", command);
                break;
        }
+       resizemaps(maxino, hdr.maxino);
        maxino = hdr.maxino;
        entrytblsize = hdr.entrytblsize;
        entry = (struct entry **)