To: vim_dev@googlegroups.com Subject: Patch 8.0.1506 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 8.0.1506 Problem: New version of HP NonStop (Tandem) doesn't like the default header for setenv(). Solution: Put a #ifdef around the setenv() entry. (Joachim Schmitz) Files: src/osdef2.h.in *** ../vim-8.0.1505/src/osdef2.h.in 2016-01-23 22:34:13.000000000 +0100 --- src/osdef2.h.in 2018-02-12 20:52:28.543552801 +0100 *************** *** 8,14 **** --- 8,18 ---- extern char *malloc(unsigned int); extern char *realloc(char *, int); extern char *getenv(char *); + #ifndef __TANDEM extern int setenv(char *, char *, int); + #else + extern int setenv(const char *, const char *, int); + #endif extern int putenv(const char *); #ifndef __TANDEM *** ../vim-8.0.1505/src/version.c 2018-02-11 19:06:20.269418910 +0100 --- src/version.c 2018-02-12 20:55:50.841886388 +0100 *************** *** 773,774 **** --- 773,776 ---- { /* Add new patch number below this line */ + /**/ + 1506, /**/ -- Q: How many hardware engineers does it take to change a lightbulb? A: None. We'll fix it in software. /// 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 ///