restor bug

utzoo!decvax!ucbvax!menlo70!sri-unix!CSVAX.dmr at Berkeley utzoo!decvax!ucbvax!menlo70!sri-unix!CSVAX.dmr at Berkeley
Tue Dec 29 21:19:23 AEST 1981


The restor program as distributed in V7, 32V, and 4.xBSD (at least)
has a subscript bug that appears if you do "restor x" and there are
too many directories on the tape.  "Too many" is 2000 for V7 and
3000 for BSD.   The effect on the PDP-11 is that you begin to get
nothing but checksum errors while reading the tape.

To fix it, look a few lines after the label 'finish:'.
Put in a test to make sure  ipos  does not get >= MAXINO.

		Dennis Ritchie



More information about the Comp.unix.wizards mailing list