mirror of
https://github.com/vim/vim.git
synced 2025-09-26 04:04:07 -04:00
updated for version 7.3.560
Problem: Get an error for a locked argument in extend(). Solution: Initialize the lock flag for a dictionary. (Yukihiro Nakadaira)
This commit is contained in:
@@ -19981,6 +19981,7 @@ init_var_dict(dict, dict_var)
|
|||||||
dictitem_T *dict_var;
|
dictitem_T *dict_var;
|
||||||
{
|
{
|
||||||
hash_init(&dict->dv_hashtab);
|
hash_init(&dict->dv_hashtab);
|
||||||
|
dict->dv_lock = 0;
|
||||||
dict->dv_refcount = DO_NOT_FREE_CNT;
|
dict->dv_refcount = DO_NOT_FREE_CNT;
|
||||||
dict->dv_copyID = 0;
|
dict->dv_copyID = 0;
|
||||||
dict_var->di_tv.vval.v_dict = dict;
|
dict_var->di_tv.vval.v_dict = dict;
|
||||||
|
@@ -714,6 +714,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 */
|
||||||
|
/**/
|
||||||
|
560,
|
||||||
/**/
|
/**/
|
||||||
559,
|
559,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user