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