0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

updated for version 7.3.791

Problem:    MzScheme interface doesn't work propely.
Solution:   Make it work better. (Sergey Khorev)
This commit is contained in:
Bram Moolenaar
2013-01-30 14:55:42 +01:00
parent a3e6bc93d1
commit 7567646f13
13 changed files with 490 additions and 179 deletions

View File

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