0
0
mirror of https://github.com/vim/vim.git synced 2025-07-26 11:04:33 -04:00

patch 8.0.1841: HP-UX does not have setenv()

Problem:    HP-UX does not have setenv().
Solution:   Use vim_setenv(). (John Marriott)
This commit is contained in:
Bram Moolenaar 2018-05-14 22:58:34 +02:00
parent 027df2a7d9
commit 1af6a4b891
2 changed files with 3 additions and 1 deletions

View File

@ -4485,7 +4485,7 @@ vim_unsetenv(char_u *var)
#ifdef HAVE_UNSETENV
unsetenv((char *)var);
#else
mch_setenv((char *)var, "", 0);
vim_setenv(var, (char_u *)"");
#endif
}

View File

@ -761,6 +761,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
1841,
/**/
1840,
/**/