diff options
Diffstat (limited to 'except.c')
| -rw-r--r-- | except.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -91,7 +91,7 @@ extern void rc_raise(ecodes e) { interactive = estack->interactive; estack = estack->prev; - longjmp(j->j, 1); + siglongjmp(j->j, 1); } } rc_exit(1); /* top of exception stack */ @@ -120,7 +120,7 @@ extern void pop_cmdarg(bool remove) { /* exception handlers */ extern void rc_error(char *s) { - pr_error(s); + pr_error(s, -1); set(FALSE); redirq = NULL; cond = FALSE; /* no longer inside conditional */ |