Messages in this thread | | | Date | Tue, 23 Apr 1996 06:10:30 -0400 (EDT) | From | Microcomputers <> | Subject | Re: signal(SIGFPE,SIG_IGN) causes endless loop (fwd) |
| |
On Mon, 22 Apr 1996 Jim_Nance@avanticorp.com wrote:
> Forwarded message: > > The following program loops endlessly, with repeated SIGFPE's, as > > repeated by strace. > > > > This is an old, old bug, but maybe fixable before 2.0? > > > > #include <stdio.h> > > #include <signal.h> > > > > int main() > > { > > int a,b,c; > > > > signal(SIGFPE,SIG_IGN); > > a = 1; > > b = 0; > > c = a/b; > > return 0; > > } > > In case anyone else is keeping track: ultrix:uname -a ULTRIX ultrix 4.4 0 RISC ultrix:sigerr zsh: 351 trace trap (core dumped) sigerr
-Mike -- "The best way to infringe of liberty is to create an external menace" -James Madison URL:http://www.ramapo.edu/~mnugent
| |