mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
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.
This commit is contained in:
@@ -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;
|
||||
|
@@ -755,6 +755,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
3329,
|
||||
/**/
|
||||
3328,
|
||||
/**/
|
||||
|
Reference in New Issue
Block a user