🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.bugs.2bsd
Article #264

sigblock in window needs a long

#264
From: 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);
  	}
  }
Technical Details
Message-ID: <43893@wlbr.IMSD.CONTEL.COM>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!samsung!usc!elroy.jpl.nasa.gov!mahendo!wlbr!wlv!sms

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!samsung!usc!elroy.jpl.nasa.gov!mahendo!wlbr!wlv!sms
From: sms@wlv.imsd.contel.com (Steven M. Schultz)
Newsgroups: comp.bugs.2bsd
Subject: sigblock in window needs a long
Message-ID: <43893@wlbr.IMSD.CONTEL.COM>
Date: 12 Jan 90 07:29:24 GMT
Sender: news@wlbr.IMSD.CONTEL.COM
Reply-To: sms@wlv.imsd.contel.com (Steven M. Schultz)
Organization: Contel Federal Systems
Lines: 32