lkml.org 
[lkml]   [1996]   [May]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: signal(SIGFPE,SIG_IGN) causes endless loop
alan@cymru.net (Alan Cox)  wrote on 23.04.96 in <199604231443.PAA30155@snowcrash.cymru.net>:

> Then the SCO system is not a C compiler. Thats a compiler bug. X/0 is legal
> C. Remind me to use an FPU trap to run something gratuitously so SCO users
> cant build it.

That's an interesting definition of "legal".

ANSI C says that the behaviour is undefined. "Permissible undefined
behaviour ranges ... to terminating a translation or execution (with the
issuance of a diagnostic message)."

I'd say you're wrong.

MfG Kai


\
 
 \ /
  Last update: 2005-03-22 13:37    [W:0.150 / U:0.020 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site