Karsten Hopp 8dc954
To: vim_dev@googlegroups.com
Karsten Hopp 8dc954
Subject: Patch 7.3.560
Karsten Hopp 8dc954
Fcc: outbox
Karsten Hopp 8dc954
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp 8dc954
Mime-Version: 1.0
Karsten Hopp 8dc954
Content-Type: text/plain; charset=UTF-8
Karsten Hopp 8dc954
Content-Transfer-Encoding: 8bit
Karsten Hopp 8dc954
------------
Karsten Hopp 8dc954
Karsten Hopp 8dc954
Patch 7.3.560
Karsten Hopp 8dc954
Problem:    Get an error for a locked argument in extend().
Karsten Hopp 8dc954
Solution:   Initialize the lock flag for a dictionary. (Yukihiro Nakadaira)
Karsten Hopp 8dc954
Files:	    src/eval.c
Karsten Hopp 8dc954
Karsten Hopp 8dc954
Karsten Hopp 8dc954
*** ../vim-7.3.559/src/eval.c	2012-06-20 14:02:23.000000000 +0200
Karsten Hopp 8dc954
--- src/eval.c	2012-06-20 14:08:34.000000000 +0200
Karsten Hopp 8dc954
***************
Karsten Hopp 8dc954
*** 19981,19986 ****
Karsten Hopp 8dc954
--- 19981,19987 ----
Karsten Hopp 8dc954
      dictitem_T	*dict_var;
Karsten Hopp 8dc954
  {
Karsten Hopp 8dc954
      hash_init(&dict->dv_hashtab);
Karsten Hopp 8dc954
+     dict->dv_lock = 0;
Karsten Hopp 8dc954
      dict->dv_refcount = DO_NOT_FREE_CNT;
Karsten Hopp 8dc954
      dict->dv_copyID = 0;
Karsten Hopp 8dc954
      dict_var->di_tv.vval.v_dict = dict;
Karsten Hopp 8dc954
*** ../vim-7.3.559/src/version.c	2012-06-20 14:02:23.000000000 +0200
Karsten Hopp 8dc954
--- src/version.c	2012-06-20 14:09:34.000000000 +0200
Karsten Hopp 8dc954
***************
Karsten Hopp 8dc954
*** 716,717 ****
Karsten Hopp 8dc954
--- 716,719 ----
Karsten Hopp 8dc954
  {   /* Add new patch number below this line */
Karsten Hopp 8dc954
+ /**/
Karsten Hopp 8dc954
+     560,
Karsten Hopp 8dc954
  /**/
Karsten Hopp 8dc954
Karsten Hopp 8dc954
-- 
Karsten Hopp 8dc954
"Oh, no!  NOT the Spanish Inquisition!"
Karsten Hopp 8dc954
"NOBODY expects the Spanish Inquisition!!!"
Karsten Hopp 8dc954
				-- Monty Python sketch --
Karsten Hopp 8dc954
"Oh, no!  NOT another option!"
Karsten Hopp 8dc954
"EVERYBODY expects another option!!!"
Karsten Hopp 8dc954
				-- Discussion in vim-dev mailing list --
Karsten Hopp 8dc954
Karsten Hopp 8dc954
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp 8dc954
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp 8dc954
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
Karsten Hopp 8dc954
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///