Mercurial > vim
changeset 20205:83e196d484eb v8.2.0658
patch 8.2.0658: HP-UX build fails when setenv() is not defined
Commit: https://github.com/vim/vim/commit/affc8fd2cda77fbd47df2594da417a9f9a9bb9b6
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Apr 28 21:58:29 2020 +0200
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)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Tue, 28 Apr 2020 22:00:04 +0200 |
parents | d916e6c0aeb9 |
children | b7046165cf39 |
files | src/os_unix.c src/version.c |
diffstat | 2 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/os_unix.c +++ b/src/os_unix.c @@ -4196,7 +4196,7 @@ set_child_environment( vim_snprintf(envbuf_Columns, sizeof(envbuf_Columns), "COLUMNS=%ld", 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); # ifdef FEAT_TERMINAL if (is_terminal)