Turned back all fprintf/exit(1) bits into error()
svn-id: r38716
This commit is contained in:
parent
11b2ddfc54
commit
426def4f44
8 changed files with 10 additions and 24 deletions
|
@ -540,8 +540,7 @@ void vm_handle_fatal_error(EngineState *s, int line, const char *file) {
|
|||
if (jump_initialized)
|
||||
longjmp(vm_error_address, 0);
|
||||
#endif
|
||||
fprintf(stderr, "Could not recover, exitting...\n");
|
||||
exit(1);
|
||||
error(stderr, "Could not recover, exitting...\n");
|
||||
}
|
||||
|
||||
static inline script_t *script_locate_by_segment(EngineState *s, seg_id_t seg) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue