sigblock in window needs a long
Steven M. Schultz
sms at wlv.imsd.contel.com
Fri Jan 12 18:29:24 AEST 1990
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);
}
}
More information about the Comp.bugs.2bsd
mailing list