🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Keith Bostic Sat, 31 Oct 1987 00:38
V1.13 (cnstart doesn't always reset the interrupt level)
#169
Author: Keith Bostic
Date: Sat, 31 Oct 1987 00:38
30 lines
1362 bytes
Subject: cnstart doesn't always reset the interrupt level
Index: sys/pdp/cons.c 2.10BSD

Description:
	The cnstart routine can return without resetting the
	spl level.
Repeat-By:
	By inspection.
Fix:
	Apply the following patch.

*** cons.c.orig	Fri Oct 30 15:09:26 1987
--- cons.c	Fri Oct 30 15:09:57 1987
***************
*** 169,175 ****
  		goto out;
  	addr = (struct dldevice *)tp->t_addr;
  	if ((addr->dlxcsr & DLXCSR_TRDY) == 0)
! 		return;
  	c = getc(&tp->t_outq);
  	if (tp->t_flags & (RAW|LITOUT))
  		addr->dlxbuf = c&0xff;
--- 169,175 ----
  		goto out;
  	addr = (struct dldevice *)tp->t_addr;
  	if ((addr->dlxcsr & DLXCSR_TRDY) == 0)
! 		goto out;
  	c = getc(&tp->t_outq);
  	if (tp->t_flags & (RAW|LITOUT))
  		addr->dlxbuf = c&0xff;
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads