excise exit()
Status: Pre-Alpha
Brought to you by:
mark_lentczner
Nothing in the code base should call exit()
Nothing in the code base should call pt::fatal() (which calls exit())
Of course, this is going to be possible everywhere, but should be
removed as much as possible. Allowable places are things like
when expath calls exit() if malloc() fails.
Logged In: YES
user_id=219202
checked all the calls to exit() -- the only suspect one left is in the code
that forks off in daemon mode -- and only because we have the System
open and running now in two processes
exit() is also called from Antlr's panic() functions, which are never called.
exit() is also called from Ptype's fatal() function. This function is called
all too often from the ptype library. Each of these should be checked to
ensure that it is really a fatal, non-recoverable condition.