sbin/restore/restore.c
/*
 * Check the symbol table.
 * We do this to insure that all the requested work was done, and
 * that no temporary names remain.
 */
Check the symbol table.
We do this to insure that all the requested work was done, and
that no temporary names remain.
Check the symbol table . We do this to insure that all the requested work was done and that no temporary names remain .
void
checkrestore()
{
	register struct entry *ep;
	register ino_t i;
	vprintf(stdout, "Check the symbol table.\n");
	for (i = WINO; i < maxino; i++) {
		for (ep = lookupino(i); ep != NULL; ep = ep->e_links) {
			ep->e_flags &= ~KEEP;
			if (ep->e_type == NODE)
				ep->e_flags &= ~(NEW|EXISTED);
			if (ep->e_flags != NULL)
				badentry(ep, "incomplete operations");
		}
	}
}
void checkrestore ( ) { register struct entry * ep ; register ino_t i ; vprintf ( stdout , " \n " ) ; for ( i = WINO ; i < maxino ; i ++ ) { for ( ep = lookupino ( i ) ; ep != NULL ; ep = ep -> e_links ) { ep -> e_flags &= ~ KEEP ; if ( ep -> e_type == NODE ) ep -> e_flags &= ~ ( NEW | EXISTED ) ; if ( ep -> e_flags != NULL ) badentry ( ep , " " ) ; } } }
Check the symbol table.
Check the symbol table .