forked from aniani/vim
patch 8.2.4754: using cached values after unsetting some environment variables
Problem: Still using cached values after unsetting some known environment
variables.
Solution: Take care of the side effects. (closes #10194)
This commit is contained in:
@@ -32,6 +32,7 @@ void expand_env(char_u *src, char_u *dst, int dstlen);
|
||||
void expand_env_esc(char_u *srcp, char_u *dst, int dstlen, int esc, int one, char_u *startstr);
|
||||
char_u *vim_getenv(char_u *name, int *mustfree);
|
||||
void vim_unsetenv(char_u *var);
|
||||
void vim_unsetenv_ext(char_u *var);
|
||||
void vim_setenv_ext(char_u *name, char_u *val);
|
||||
void vim_setenv(char_u *name, char_u *val);
|
||||
char_u *get_env_name(expand_T *xp, int idx);
|
||||
|
||||
Reference in New Issue
Block a user