Turned back all fprintf/exit(1) bits into error()

svn-id: r38716
This commit is contained in:
Filippos Karapetis 2009-02-21 18:16:17 +00:00
parent 11b2ddfc54
commit 426def4f44
8 changed files with 10 additions and 24 deletions

View file

@ -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) {