commit | 16e63e6d353c8b7337470644ceac02dc5e569db9 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Wed Aug 11 16:47:26 2021 +0200 |
committer | Bram Moolenaar <Bram@vim.org> | Wed Aug 11 16:47:26 2021 +0200 |
tree | 48331ea44e767e2b0f5997db51cc4e1239372332 | |
parent | b85d3627d9a7b41d603c58a16d0ddbf6b88beeaf [diff] [blame] |
patch 8.2.3329: v_lock not set when getting value of environment variable Problem: v_lock not set when getting value of environment variable. Solution: Set v_lock to zero.
diff --git a/src/typval.c b/src/typval.c index 5a62fa0..cdb6175 100644 --- a/src/typval.c +++ b/src/typval.c
@@ -2082,6 +2082,7 @@ rettv->v_type = VAR_STRING; rettv->vval.v_string = string; + rettv->v_lock = 0; } return OK;