073263
To: vim_dev@googlegroups.com
073263
Subject: Patch 7.4.597
073263
Fcc: outbox
073263
From: Bram Moolenaar <Bram@moolenaar.net>
073263
Mime-Version: 1.0
073263
Content-Type: text/plain; charset=UTF-8
073263
Content-Transfer-Encoding: 8bit
073263
------------
073263
073263
Patch 7.4.597
073263
Problem:    Cannot change the result of systemlist().
073263
Solution:   Initialize v_lock. (Yukihiro Nakadaira)
073263
Files:	    src/eval.c
073263
073263
073263
*** ../vim-7.4.596/src/eval.c	2015-01-14 19:00:33.842522901 +0100
073263
--- src/eval.c	2015-01-27 13:49:22.123112397 +0100
073263
***************
073263
*** 6007,6012 ****
073263
--- 6007,6013 ----
073263
  
073263
  /*
073263
   * Allocate a list item.
073263
+  * It is not initialized, don't forget to set v_lock.
073263
   */
073263
      listitem_T *
073263
  listitem_alloc()
073263
***************
073263
*** 18713,18718 ****
073263
--- 18714,18720 ----
073263
  		goto errret;
073263
  	    }
073263
  	    li->li_tv.v_type = VAR_STRING;
073263
+ 	    li->li_tv.v_lock = 0;
073263
  	    li->li_tv.vval.v_string = s;
073263
  	    list_append(list, li);
073263
  	}
073263
*** ../vim-7.4.596/src/version.c	2015-01-27 13:33:18.737649629 +0100
073263
--- src/version.c	2015-01-27 13:48:25.883727538 +0100
073263
***************
073263
*** 743,744 ****
073263
--- 743,746 ----
073263
  {   /* Add new patch number below this line */
073263
+ /**/
073263
+     597,
073263
  /**/
073263
073263
-- 
073263
"Microsoft is like Coke.  It's a secret formula, all the money is from
073263
distribution, and their goal is to get Coke everywhere.  Open source is like
073263
selling water.  There are water companies like Perrier and Poland Spring, but
073263
you're competing with something that's free."   -- Carl Howe
073263
073263
073263
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
073263
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
073263
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
073263
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///