# HG changeset patch # User Bram Moolenaar # Date 1628694003 -7200 # Node ID 10edc624b17125dfaf7794ec34e45a5691c9c7bf # Parent be8b76b0583465c24033a545090119ae876b199d patch 8.2.3329: v_lock not set when getting value of environment variable Commit: https://github.com/vim/vim/commit/16e63e6d353c8b7337470644ceac02dc5e569db9 Author: Bram Moolenaar Date: Wed Aug 11 16:47:26 2021 +0200 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 --- a/src/typval.c +++ b/src/typval.c @@ -2082,6 +2082,7 @@ eval_env_var(char_u **arg, typval_T *ret 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 --- 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,