Skip to content

Commit

Permalink
patch 8.0.1841: HP-UX does not have setenv()
Browse files Browse the repository at this point in the history
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 1af6a4b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/misc1.c
Expand Up @@ -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
}

Expand Down
2 changes: 2 additions & 0 deletions src/version.c
Expand Up @@ -761,6 +761,8 @@ static char *(features[]) =

static int included_patches[] =
{ /* Add new patch number below this line */
/**/
1841,
/**/
1840,
/**/
Expand Down

0 comments on commit 1af6a4b

Please sign in to comment.