keith@seismo.CSS.GOV (Keith Bostic) (10/16/85)
Subject: Number of overlays set incorrectly.
Index: sys/sys 2.9BSD
Description:
Number of overlays is incorrectly set in ureg.c and sig.c.
Fix:
Line in ureg.c:
ts = u.u_ovdata.uo_ov_offst[7];
should be:
ts = u.u_ovdata.uo_ov_offst[NOVL];
Line in sig.c:
if ((p == &u.u_ovdata.uo_curov) && ((ipc.ip_data >= 0) &&
(ipc.ip_data <= 7) && u.u_ovdata.uo_ovbase)) {
should be:
if ((p == &u.u_ovdata.uo_curov) && ((ipc.ip_data >= 0) &&
(ipc.ip_data <= NOVL) && u.u_ovdata.uo_ovbase)) {