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 -- b...@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    ///

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui