summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2021-08-11 16:47:26 +0200
committerBram Moolenaar <Bram@vim.org>2021-08-11 16:47:26 +0200
commit16e63e6d353c8b7337470644ceac02dc5e569db9 (patch)
tree48331ea44e767e2b0f5997db51cc4e1239372332
parentb85d3627d9a7b41d603c58a16d0ddbf6b88beeaf (diff)
patch 8.2.3329: v_lock not set when getting value of environment variablev8.2.3329
Problem: v_lock not set when getting value of environment variable. Solution: Set v_lock to zero.
-rw-r--r--src/typval.c1
-rw-r--r--src/version.c2
2 files changed, 3 insertions, 0 deletions
diff --git a/src/typval.c b/src/typval.c
index 5a62fa0691..cdb617554e 100644
--- a/src/typval.c
+++ b/src/typval.c
@@ -2082,6 +2082,7 @@ eval_env_var(char_u **arg, typval_T *rettv, int evaluate)
rettv->v_type = VAR_STRING;
rettv->vval.v_string = string;
+ rettv->v_lock = 0;
}
return OK;
diff --git a/src/version.c b/src/version.c
index 4041be41a3..b8e17af800 100644
--- a/src/version.c
+++ b/src/version.c
@@ -756,6 +756,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 3329,
+/**/
3328,
/**/
3327,