-
Simon Marlow authored
Don't install a SIGFPE handler: this causes us to go into an infinite loop on a divide by zero on some systems (BSD, but not Linux it seems). I don't think we really ought to be ignoring SIGFPE: for floating point exceptions, the system usually has a way to request that operations generate exceptional values rather than signals (this is the required IEEE behaviour), and for integral division we should really check beforehand for division by zero (we don't yet).
cd147bc3