comparison src/proto/misc1.pro @ 28459:52ef65c0637f v8.2.4754

patch 8.2.4754: using cached values after unsetting some environment variables Commit: https://github.com/vim/vim/commit/7714231bb5b15f7c85453f3945c108478de1d08a Author: LemonBoy <thatlemon@gmail.com> Date: Fri Apr 15 20:50:46 2022 +0100 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)
author Bram Moolenaar <Bram@vim.org>
date Fri, 15 Apr 2022 22:00:03 +0200
parents d1702731786c
children 4efcb5c68112
comparison
equal deleted inserted replaced
28458:9335b10b5eb3 28459:52ef65c0637f
30 char_u *expand_env_save_opt(char_u *src, int one); 30 char_u *expand_env_save_opt(char_u *src, int one);
31 void expand_env(char_u *src, char_u *dst, int dstlen); 31 void expand_env(char_u *src, char_u *dst, int dstlen);
32 void expand_env_esc(char_u *srcp, char_u *dst, int dstlen, int esc, int one, char_u *startstr); 32 void expand_env_esc(char_u *srcp, char_u *dst, int dstlen, int esc, int one, char_u *startstr);
33 char_u *vim_getenv(char_u *name, int *mustfree); 33 char_u *vim_getenv(char_u *name, int *mustfree);
34 void vim_unsetenv(char_u *var); 34 void vim_unsetenv(char_u *var);
35 void vim_unsetenv_ext(char_u *var);
35 void vim_setenv_ext(char_u *name, char_u *val); 36 void vim_setenv_ext(char_u *name, char_u *val);
36 void vim_setenv(char_u *name, char_u *val); 37 void vim_setenv(char_u *name, char_u *val);
37 char_u *get_env_name(expand_T *xp, int idx); 38 char_u *get_env_name(expand_T *xp, int idx);
38 char_u *get_users(expand_T *xp, int idx); 39 char_u *get_users(expand_T *xp, int idx);
39 int match_user(char_u *name); 40 int match_user(char_u *name);