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:
@@ -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)
|
||||
{
|
||||
|
Reference in New Issue
Block a user