CSS/Harvard 2.9BSD bug report #11

Keith Bostic keith at seismo.CSS.GOV
Thu Oct 17 02:59:55 AEST 1985


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)) {



More information about the Comp.bugs.2bsd mailing list