all entries have an inode number
authorKirk McKusick <mckusick@ucbvax.Berkeley.EDU>
Mon, 28 Mar 1983 09:26:04 +0000 (01:26 -0800)
committerKirk McKusick <mckusick@ucbvax.Berkeley.EDU>
Mon, 28 Mar 1983 09:26:04 +0000 (01:26 -0800)
SCCS-vsn: sbin/restore/symtab.c 3.9

usr/src/sbin/restore/symtab.c

index 0e5aea6..bf11f61 100644 (file)
@@ -1,7 +1,7 @@
 /* Copyright (c) 1983 Regents of the University of California */
 
 #ifndef lint
 /* Copyright (c) 1983 Regents of the University of California */
 
 #ifndef lint
-static char sccsid[] = "@(#)symtab.c   3.8     (Berkeley)      83/03/27";
+static char sccsid[] = "@(#)symtab.c   3.9     (Berkeley)      83/03/27";
 #endif
 
 /*
 #endif
 
 /*
@@ -205,6 +205,7 @@ addentry(name, inum, type)
                ep = lookupino(inum);
                if (ep == NIL)
                        panic("link to non-existant name\n");
                ep = lookupino(inum);
                if (ep == NIL)
                        panic("link to non-existant name\n");
+               np->e_ino = inum;
                np->e_links = ep->e_links;
                ep->e_links = np;
        } else if (inum != 0) {
                np->e_links = ep->e_links;
                ep->e_links = np;
        } else if (inum != 0) {