Path: 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 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); } }