[m-dev.] diff: use exit() in place of abort() for uncaught exceptions
Fergus Henderson
fjh at cs.mu.OZ.AU
Wed Jul 26 03:25:57 AEST 2000
On 24-Jul-2000, Peter Ross <peter.ross at miscrit.be> wrote:
> exception.m:
> MSVC prints "abnormal program termination" when abort() is
> called. This causes a lot of test cases to fail. Instead call
> exit(EXIT_FAILURE).
On Unix systems, abort() causes a core dump
(unless you set the core size limit to zero).
So this change will change the behaviour on Unix systems.
However, I suppose the core dump is probably not very useful,
so this change is OK.
--
Fergus Henderson <fjh at cs.mu.oz.au> | "I have always known that the pursuit
WWW: <http://www.cs.mu.oz.au/~fjh> | of excellence is a lethal habit"
PGP: finger fjh at 128.250.37.3 | -- the last words of T. S. Garp.
--------------------------------------------------------------------------
mercury-developers mailing list
Post messages to: mercury-developers at cs.mu.oz.au
Administrative Queries: owner-mercury-developers at cs.mu.oz.au
Subscriptions: mercury-developers-request at cs.mu.oz.au
--------------------------------------------------------------------------
More information about the developers
mailing list