volatile

Karl Heuer karl at haddock.ISC.COM
Fri Apr 1 04:51:16 AEST 1988


In article <1264 at PT.CS.CMU.EDU> edw at 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 at haddock.isc.com), The Walking Lint



More information about the Comp.lang.c mailing list