Patch 8.2.3329

3 views
Skip to first unread message

Bram Moolenaar

unread,
Aug 11, 2021, 10:55:54 AM8/11/21
to vim...@googlegroups.com

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 -- Br...@Moolenaar.net -- http://www.Moolenaar.net \\\
/// \\\
\\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
Reply all
Reply to author
Forward
0 new messages