Patch 7.4.1498
Problem:    Error for locked item when using json_decode(). (Shougo)
Solution:   Initialize v_lock.
Files:      src/json.c


*** ../vim-7.4.1497/src/json.c  2016-02-29 23:12:44.214899375 +0100
--- src/json.c  2016-03-05 23:21:19.530465637 +0100
***************
*** 506,511 ****
--- 506,512 ----
                return FAIL;
            }
            di->di_tv = item;
+           di->di_tv.v_lock = 0;
            if (dict_add(res->vval.v_dict, di) == FAIL)
            {
                dictitem_free(di);
*** ../vim-7.4.1497/src/version.c       2016-03-05 22:40:46.880980377 +0100
--- src/version.c       2016-03-05 23:22:27.401726934 +0100
***************
*** 745,746 ****
--- 745,748 ----
  {   /* Add new patch number below this line */
+ /**/
+     1498,
  /**/

-- 
For humans, honesty is a matter of degree.  Engineers are always honest in
matters of technology and human relationships.  That's why it's a good idea
to keep engineers away from customers, romantic interests, and other people
who can't handle the truth.
                                (Scott Adams - The Dilbert principle)

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui