Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!purdue!tut.cis.ohio-state.edu!zaphod.mps.ohio-state.edu!think!ames!henry.jpl.nasa.gov!elroy.jpl.nasa.gov!mahendo!wlbr!wlv!sms From: sms@wlv.imsd.contel.com (Steven M. Schultz) Newsgroups: comp.bugs.2bsd Subject: Missing long in syslog.c Message-ID: <43183@wlbr.IMSD.CONTEL.COM> Date: 30 Dec 89 04:15:58 GMT Sender: news@wlbr.IMSD.CONTEL.COM Reply-To: sms@wlv.imsd.contel.com (Steven M. Schultz) Organization: Contel Federal Systems Lines: 33 Subject: Missing long indicator in syslog.c Index: lib/libc/gen/syslog.c 2.10BSD Description: Signal masks are long, not int. There is a missing 'L' in a sigblock() call in syslog.c Repeat-By: Examination of the source. Fix: Apply the following patch and reinstall syslog() in libc.a and libc_p.a *** syslog.c.old Sun Jul 3 21:45:31 1988 --- syslog.c Fri Dec 29 20:02:38 1989 *************** *** 144,150 **** int fd; signal(SIGALRM, SIG_DFL); ! sigsetmask(sigblock(0) & ~sigmask(SIGALRM)); alarm(5); fd = open(ctty, O_WRONLY); alarm(0); --- 144,150 ---- int fd; signal(SIGALRM, SIG_DFL); ! sigsetmask(sigblock(0L) & ~sigmask(SIGALRM)); alarm(5); fd = open(ctty, O_WRONLY); alarm(0);