Patch 8.2.3329
Problem:    v_lock not set when getting value of environment variable.
Solution:   Set v_lock to zero.
Files:      src/typval.c


*** ../vim-8.2.3328/src/typval.c        2021-08-08 19:56:25.101305106 +0200
--- src/typval.c        2021-08-11 16:46:16.528049869 +0200
***************
*** 2082,2087 ****
--- 2082,2088 ----
  
        rettv->v_type = VAR_STRING;
        rettv->vval.v_string = string;
+       rettv->v_lock = 0;
      }
  
      return OK;
*** ../vim-8.2.3328/src/version.c       2021-08-11 15:54:55.807732100 +0200
--- src/version.c       2021-08-11 16:47:12.535956926 +0200
***************
*** 757,758 ****
--- 757,760 ----
  {   /* Add new patch number below this line */
+ /**/
+     3329,
  /**/

-- 
MESKIMEN'S LAW
    There's never time to do it right, but always time to do it over.

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///                                                                      \\\
\\\        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
 \\\            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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/202108111455.17BEtkbV2940217%40masaka.moolenaar.net.

Raspunde prin e-mail lui