🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Steven M. Schultz Fri, 12 Jan 1990 07:29
sigblock in window needs a long
#264
Author: Steven M. Schultz
Date: Fri, 12 Jan 1990 07:29
32 lines
1151 bytes
Subject: sigblock in window needs a long
Index:	ucb/window/wwrint.c 2.10BSD

Description:
	The sigblock(2) syscall takes a long argument rather than
	a int.

Repeat-By:
	Examination of the code.

Fix:
	Apply the following patch to wwrint.c and remake 'window'.

*** wwrint.c.old	Mon Feb 16 22:10:56 1987
--- wwrint.c	Fri Dec 29 21:55:11 1989
***************
*** 42,48 ****
  		wwnreade++;
  	if (wwinterrupt() && wwsetjmp) {
  		wwsetjmp = 0;
! 		(void) sigsetmask(sigblock(0) & ~sigmask(SIGIO));
  		longjmp(wwjmpbuf, 1);
  	}
  }
--- 42,48 ----
  		wwnreade++;
  	if (wwinterrupt() && wwsetjmp) {
  		wwsetjmp = 0;
! 		(void) sigsetmask(sigblock(0L) & ~sigmask(SIGIO));
  		longjmp(wwjmpbuf, 1);
  	}
  }
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