Path: utzoo!utgpu!water!watmath!clyde!ima!haddock!karl From: karl@haddock.ISC.COM (Karl Heuer) Newsgroups: comp.lang.c Subject: Re: volatile Message-ID: <3268@haddock.ISC.COM> Date: 31 Mar 88 18:51:16 GMT References: <12578@brl-adm.ARPA> <1988Mar25.172355.348@utzoo.uucp> <3237@haddock.ISC.COM> <1264@PT.CS.CMU.EDU> Reply-To: karl@haddock.ima.isc.com (Karl Heuer) Organization: Interactive Systems, Boston Lines: 14 In article <1264@PT.CS.CMU.EDU> edw@IUS1.CS.CMU.EDU (Eddie Wyatt) writes: >> static void catch(int signo) { gotcha = 1; } >PLEASE, declare the signal handler correctly Mr. Lint :-). I did. Note that I was writing a "strictly conforming program". >static void catch(int signo, code; struct sigcontext *scp) { gotcha = 1; } > >In the pass I've had my signal handle return to random pieces of >code by not having the correct definition. Yeah, I've also been bitten occasionally by bugs in Berzerkeley code. Karl W. Z. Heuer (ima!haddock!karl or karl@haddock.isc.com), The Walking Lint