]> granicus.if.org Git - vim/commitdiff
updated for version 7.3.560 v7.3.560
authorBram Moolenaar <Bram@vim.org>
Wed, 20 Jun 2012 12:13:06 +0000 (14:13 +0200)
committerBram Moolenaar <Bram@vim.org>
Wed, 20 Jun 2012 12:13:06 +0000 (14:13 +0200)
Problem:    Get an error for a locked argument in extend().
Solution:   Initialize the lock flag for a dictionary. (Yukihiro Nakadaira)

src/eval.c
src/version.c

index 83e2016f16447bea621603128a133098855cc6bb..1b282006648fc9968f53baf1987ace73bc9643df 100644 (file)
@@ -19981,6 +19981,7 @@ init_var_dict(dict, dict_var)
     dictitem_T *dict_var;
 {
     hash_init(&dict->dv_hashtab);
+    dict->dv_lock = 0;
     dict->dv_refcount = DO_NOT_FREE_CNT;
     dict->dv_copyID = 0;
     dict_var->di_tv.vval.v_dict = dict;
index 2f09e4be22ca3854e349d169a2ae054059028aa9..23049a807ec2453c35ddb7bca1848941b78031bb 100644 (file)
@@ -714,6 +714,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    560,
 /**/
     559,
 /**/