Problem: Cannot read error message when abort() is called.
Solution: Output a newline before calling abort().
emsg_core((char_u *)s);
#if defined(ABORT_ON_INTERNAL_ERROR) && defined(FEAT_EVAL)
set_vim_var_string(VV_ERRMSG, (char_u *)s, -1);
+ msg_putchar('\n'); // avoid overwriting the error message
+ out_flush();
abort();
#endif
}
va_end(ap);
emsg_core(IObuff);
}
- }
# ifdef ABORT_ON_INTERNAL_ERROR
- abort();
+ msg_putchar('\n'); // avoid overwriting the error message
+ out_flush();
+ abort();
# endif
+ }
}
#endif
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 227,
/**/
226,
/**/