diff options
Diffstat (limited to 'src/os_unix.c')
-rw-r--r-- | src/os_unix.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/os_unix.c b/src/os_unix.c index ae41579dc..c82e593f3 100644 --- a/src/os_unix.c +++ b/src/os_unix.c @@ -278,7 +278,8 @@ static struct signalinfo #ifdef SIGBUS {SIGBUS, "BUS", TRUE}, #endif -#ifdef SIGSEGV +#if defined(SIGSEGV) && !defined(FEAT_MZSCHEME) + /* MzScheme uses SEGV in its garbage collector */ {SIGSEGV, "SEGV", TRUE}, #endif #ifdef SIGSYS @@ -3778,7 +3779,7 @@ wait4pid(child, status) # endif if (wait_pid == 0) { - /* Wait for 1/100 sec before trying again. */ + /* Wait for 10 msec before trying again. */ mch_delay(10L, TRUE); continue; } @@ -4797,7 +4798,7 @@ finished: { /* LINTED avoid "bitwise operation on signed value" */ retval = WEXITSTATUS(status); - if (retval && !emsg_silent) + if (retval != 0 && !emsg_silent) { if (retval == EXEC_FAILED) { |