Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!mcvax!ukc!warwick!cudcv From: cudcv@warwick.ac.uk (Rob McMahon) Newsgroups: net.sources.bugs Subject: Bug fix to ispell Message-ID: <318@sol.warwick.ac.uk> Date: Mon, 19-Jan-87 05:53:28 EST Article-I.D.: sol.318 Posted: Mon Jan 19 05:53:28 1987 Date-Received: Wed, 21-Jan-87 02:09:21 EST Reply-To: cudcv@sol.warwick.ac.uk (Rob McMahon) Organization: Computing Services, Warwick University, UK Lines: 87 DESCRIPTION ispell may loop endlessly if fired off in the background (or if the fixes from pedz@bobcat aren't installed and you aren't on a VAX). REPEAT BY ispell file & ps ps FIX The masks used in the sigsetmasks in term.c are wrong, they should be (1<<(sig-1)), not just (1<int for TIOCGPGRP though). RCS file: term.c,v retrieving revision 1.2 retrieving revision 1.3 diff -c -r1.2 -r1.3 *** /tmp/,RCSt1029193 Mon Jan 19 09:49:15 1987 --- /tmp/,RCSt2029193 Mon Jan 19 09:49:16 1987 *************** *** 10,15 #include #include "ispell.h" int putch(); erase () --- 10,19 ----- #include #include "ispell.h" + #ifndef sigmask + #define sigmask(s) (1 << ((s)-1)) + #endif + int putch(); erase () *************** *** 65,71 extern short ospeed; retry: ! sigsetmask(1<