diff options
author | Bram Moolenaar <Bram@vim.org> | 2013-01-30 14:55:42 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2013-01-30 14:55:42 +0100 |
commit | 7567646f13beb8c7aad79340f30ad2b5d5c8225f (patch) | |
tree | bfb2579864761ea87c16ffbf8ddc97d079ea1543 /src/os_unix.c | |
parent | a3e6bc93d1a76e0619c27e462b75d8f94969f47d (diff) | |
download | vim-7567646f13beb8c7aad79340f30ad2b5d5c8225f.zip |
updated for version 7.3.791
Problem: MzScheme interface doesn't work propely.
Solution: Make it work better. (Sergey Khorev)
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) { |