To: vim_dev@googlegroups.com Subject: Patch 8.0.1841 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 8.0.1841 Problem: HP-UX does not have setenv(). Solution: Use vim_setenv(). (John Marriott) Files: src/misc1.c *** ../vim-8.0.1840/src/misc1.c 2018-05-13 15:59:44.898287919 +0200 --- src/misc1.c 2018-05-14 22:56:16.839418825 +0200 *************** *** 4485,4491 **** #ifdef HAVE_UNSETENV unsetenv((char *)var); #else ! mch_setenv((char *)var, "", 0); #endif } --- 4485,4491 ---- #ifdef HAVE_UNSETENV unsetenv((char *)var); #else ! vim_setenv(var, (char_u *)""); #endif } *** ../vim-8.0.1840/src/version.c 2018-05-14 21:31:03.958897620 +0200 --- src/version.c 2018-05-14 22:58:13.350694659 +0200 *************** *** 763,764 **** --- 763,766 ---- { /* Add new patch number below this line */ + /**/ + 1841, /**/ -- It is illegal to rob a bank and then shoot at the bank teller with a water pistol. [real standing law in Louisana, United States of America] /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ an exciting new programming language -- http://www.Zimbu.org /// \\\ help me help AIDS victims -- http://ICCF-Holland.org ///