]> granicus.if.org Git - vim/commitdiff
patch 8.2.0658: HP-UX build fails when setenv() is not defined v8.2.0658
authorBram Moolenaar <Bram@vim.org>
Tue, 28 Apr 2020 19:58:29 +0000 (21:58 +0200)
committerBram Moolenaar <Bram@vim.org>
Tue, 28 Apr 2020 19:58:29 +0000 (21:58 +0200)
Problem:    HP-UX build fails when setenv() is not defined.
Solution:   Change "colors" to "t_colors". (John Marriott)

src/os_unix.c
src/version.c

index 66903e081902f065168fe4df6c5b556ded5cd05f..f8fe2cb64b14f669b543eb7a12f0cc3414c2bf87 100644 (file)
@@ -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)
index eac5c9adfa55b086663d58d866c44d6e32eb08ab..127f9062911b410bdf4186dd1e41360f7cac42cb 100644 (file)
@@ -746,6 +746,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    658,
 /**/
     657,
 /**/