mirror of
https://github.com/vim/vim.git
synced 2025-09-24 03:44:06 -04:00
patch 8.2.0658: HP-UX build fails when setenv() is not defined
Problem: HP-UX build fails when setenv() is not defined. Solution: Change "colors" to "t_colors". (John Marriott)
This commit is contained in:
@@ -4196,7 +4196,7 @@ set_child_environment(
|
|||||||
vim_snprintf(envbuf_Columns, sizeof(envbuf_Columns),
|
vim_snprintf(envbuf_Columns, sizeof(envbuf_Columns),
|
||||||
"COLUMNS=%ld", columns);
|
"COLUMNS=%ld", columns);
|
||||||
putenv(envbuf_Columns);
|
putenv(envbuf_Columns);
|
||||||
vim_snprintf(envbuf_Colors, sizeof(envbuf_Colors), "COLORS=%ld", colors);
|
vim_snprintf(envbuf_Colors, sizeof(envbuf_Colors), "COLORS=%ld", t_colors);
|
||||||
putenv(envbuf_Colors);
|
putenv(envbuf_Colors);
|
||||||
# ifdef FEAT_TERMINAL
|
# ifdef FEAT_TERMINAL
|
||||||
if (is_terminal)
|
if (is_terminal)
|
||||||
|
@@ -746,6 +746,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
658,
|
||||||
/**/
|
/**/
|
||||||
657,
|
657,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user