1
0
forked from aniani/vim

updated for version 7.4.597

Problem:    Cannot change the result of systemlist().
Solution:   Initialize v_lock. (Yukihiro Nakadaira)
This commit is contained in:
Bram Moolenaar 2015-01-27 13:49:31 +01:00
parent 932d88662f
commit 9a492d456d
2 changed files with 4 additions and 0 deletions

View File

@ -6007,6 +6007,7 @@ list_free(l, recurse)
/* /*
* Allocate a list item. * Allocate a list item.
* It is not initialized, don't forget to set v_lock.
*/ */
listitem_T * listitem_T *
listitem_alloc() listitem_alloc()
@ -18713,6 +18714,7 @@ get_cmd_output_as_rettv(argvars, rettv, retlist)
goto errret; goto errret;
} }
li->li_tv.v_type = VAR_STRING; li->li_tv.v_type = VAR_STRING;
li->li_tv.v_lock = 0;
li->li_tv.vval.v_string = s; li->li_tv.vval.v_string = s;
list_append(list, li); list_append(list, li);
} }

View File

@ -741,6 +741,8 @@ static char *(features[]) =
static int included_patches[] = static int included_patches[] =
{ /* Add new patch number below this line */ { /* Add new patch number below this line */
/**/
597,
/**/ /**/
596, 596,
/**/ /**/