]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
updated for version 7.4.597 v7.4.597
authorBram Moolenaar <Bram@vim.org>
Tue, 27 Jan 2015 12:49:31 +0000 (13:49 +0100)
committerBram Moolenaar <Bram@vim.org>
Tue, 27 Jan 2015 12:49:31 +0000 (13:49 +0100)
Problem:    Cannot change the result of systemlist().
Solution:   Initialize v_lock. (Yukihiro Nakadaira)

src/eval.c
src/version.c

index e6175f6ba9f58f3b8472adb22ce4b529d15b5a65..242a1f81ec375eca5a7311b6076b4435be62eb19 100644 (file)
@@ -6007,6 +6007,7 @@ list_free(l, recurse)
 
 /*
  * Allocate a list item.
+ * It is not initialized, don't forget to set v_lock.
  */
     listitem_T *
 listitem_alloc()
@@ -18713,6 +18714,7 @@ get_cmd_output_as_rettv(argvars, rettv, retlist)
                goto errret;
            }
            li->li_tv.v_type = VAR_STRING;
+           li->li_tv.v_lock = 0;
            li->li_tv.vval.v_string = s;
            list_append(list, li);
        }
index 5cb09f88555a76e79891d7a93411001e3c404637..f0107fabf4f0ed2bfbd0e683f42ba335d687ae9e 100644 (file)
@@ -741,6 +741,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    597,
 /**/
     596,
 /**/