[project @ 2002-07-02 12:24:48 by simonmar]
authorsimonmar <unknown>
Tue, 2 Jul 2002 12:24:48 +0000 (12:24 +0000)
committersimonmar <unknown>
Tue, 2 Jul 2002 12:24:48 +0000 (12:24 +0000)
commitcd147bc3e6bb999893c379c58a7042bf311a2e5c
treede51030f05946cc3730ad54ac2c260d17b1c074c
parent200114ef252e71db86291af96fa9ad26ac0de4c5
[project @ 2002-07-02 12:24:48 by simonmar]
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).
ghc/rts/Signals.c