Permalink
Browse files

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

Problem:    HP-UX does not have setenv().
Solution:   Use vim_setenv(). (John Marriott)
  • Loading branch information...
brammool committed May 14, 2018
1 parent 027df2a commit 1af6a4b891abd30f6bd09b15fb609e5db450392e
Showing with 3 additions and 1 deletion.
  1. +1 −1 src/misc1.c
  2. +2 −0 src/version.c
@@ -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
}
@@ -761,6 +761,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
1841,
/**/
1840,
/**/

0 comments on commit 1af6a4b

Please sign in to comment.