Patch 8.0.0460 (after 8.0.0452)
Problem:    Can't build on HPUX.
Solution:   Fix argument names in vim_stat(). (John Marriott)
Files:      src/misc2.c


*** ../vim-8.0.0459/src/misc2.c 2017-03-12 20:09:59.480468291 +0100
--- src/misc2.c 2017-03-16 12:20:24.700271060 +0100
***************
*** 3365,3371 ****
   * The Vim code assumes a trailing slash is only ignored for a directory.
   */
      static int
! illegal_slash(char *name)
  {
      if (name[0] == NUL)
        return FALSE;       /* no file name is not illegal */
--- 3365,3371 ----
   * The Vim code assumes a trailing slash is only ignored for a directory.
   */
      static int
! illegal_slash(const char *name)
  {
      if (name[0] == NUL)
        return FALSE;       /* no file name is not illegal */
***************
*** 3384,3390 ****
  {
      /* On Solaris stat() accepts "file/" as if it was "file".  Return -1 if
       * the name ends in "/" and it's not a directory. */
!     return illegal_slash(n) ? -1 : stat(n, p);
  }
  #endif
  
--- 3384,3390 ----
  {
      /* On Solaris stat() accepts "file/" as if it was "file".  Return -1 if
       * the name ends in "/" and it's not a directory. */
!     return illegal_slash(name) ? -1 : stat(name, stp);
  }
  #endif
  
*** ../vim-8.0.0459/src/version.c       2017-03-15 20:44:26.727915109 +0100
--- src/version.c       2017-03-16 12:20:56.416044592 +0100
***************
*** 766,767 ****
--- 766,769 ----
  {   /* Add new patch number below this line */
+ /**/
+     460,
  /**/

-- 
hundred-and-one symptoms of being an internet addict:
127. You bring your laptop and cellular phone to church.

 /// Bram Moolenaar -- [email protected] -- 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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui