Patch 8.0.1357
Problem:    Startup test fails on OpenBSD. (Edd Barrett)
Solution:   Check for "BSD" instead of "FreeBSD" being defined. (James McCoy,
            closes #2376, closes #2378)
Files:      src/vim.h


*** ../vim-8.0.1356/src/vim.h   2017-11-25 17:14:29.592189613 +0100
--- src/vim.h   2017-11-28 20:52:16.121206784 +0100
***************
*** 2485,2491 ****
  #define FNE_INCL_BR   1       /* include [] in name */
  #define FNE_CHECK_START       2       /* check name starts with valid 
character */
  
! #if (defined(SUN_SYSTEM) || defined(__FreeBSD__) || 
defined(__FreeBSD_kernel__)) \
        && defined(S_ISCHR)
  # define OPEN_CHR_FILES
  #endif
--- 2485,2492 ----
  #define FNE_INCL_BR   1       /* include [] in name */
  #define FNE_CHECK_START       2       /* check name starts with valid 
character */
  
! /* BSD is supposed to cover FreeBSD and similar systems. */
! #if (defined(SUN_SYSTEM) || defined(BSD) || defined(__FreeBSD_kernel__)) \
        && defined(S_ISCHR)
  # define OPEN_CHR_FILES
  #endif
*** ../vim-8.0.1356/src/version.c       2017-11-28 20:47:36.786817290 +0100
--- src/version.c       2017-11-28 20:54:04.628579755 +0100
***************
*** 773,774 ****
--- 773,776 ----
  {   /* Add new patch number below this line */
+ /**/
+     1357,
  /**/

-- 
Never go to the toilet in a paperless office.

 /// 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