mirror of https://github.com/vim/vim.git
patch 8.0.1430: crash when term_start() fails
Problem: Crash when term_start() fails. Solution: Initialize winpty_err.
This commit is contained in:
parent
ede35bbbd0
commit
4aad53c369
|
@ -3386,7 +3386,7 @@ term_and_job_init(
|
|||
HANDLE jo = NULL;
|
||||
HANDLE child_process_handle;
|
||||
HANDLE child_thread_handle;
|
||||
void *winpty_err;
|
||||
void *winpty_err = NULL;
|
||||
void *spawn_config = NULL;
|
||||
garray_T ga_cmd, ga_env;
|
||||
char_u *cmd = NULL;
|
||||
|
|
|
@ -771,6 +771,8 @@ static char *(features[]) =
|
|||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
1430,
|
||||
/**/
|
||||
1429,
|
||||
/**/
|
||||
|
|
Loading…
Reference in New Issue