Bug in panic() in sys/prf.c
utzoo!decvax!ucbvax!ihnss!houxi!vax135!harpo!utah-cs!lepreau
utzoo!decvax!ucbvax!ihnss!houxi!vax135!harpo!utah-cs!lepreau
Fri Feb 19 18:18:46 AEST 1982
Unless I'm missing something very obvious, the exprs are backwards
in the conditional statement which determines whether or not this
is the second call to panic (in order to avoid the sync). Thus a
sync is never done in "normal" panics. [Not sure that's such a bad
thing though!]
To reproduce:
Known from code perusal only.
Know fix:
1c1
< /* prf.c 4.18 81/06/11 */
---
> /* prf.c 4.18.1 82/02/18 */
173c173
< int bootopt = panicstr ? RB_AUTOBOOT : RB_AUTOBOOT|RB_NOSYNC;
---
> int bootopt = panicstr ? RB_AUTOBOOT|RB_NOSYNC : RB_AUTOBOOT;
jay lepreau
More information about the Comp.bugs.4bsd.ucb-fixes
mailing list