Patch 7.4.965
Problem: On FreeBSD /dev/fd/ files are special.
Solution: Use is_dev_fd_file() also for FreeBSD. (Derek Schrock, closes #521)
Files: src/fileio.c
*** ../vim-7.4.964/src/fileio.c 2015-12-03 21:02:23.391980907 +0100
--- src/fileio.c 2015-12-11 17:11:28.758952099 +0100
***************
*** 27,33 ****
/* Is there any system that doesn't have access()? */
#define USE_MCH_ACCESS
! #if defined(sun) && defined(S_ISCHR)
# define OPEN_CHR_FILES
static int is_dev_fd_file(char_u *fname);
#endif
--- 27,33 ----
/* Is there any system that doesn't have access()? */
#define USE_MCH_ACCESS
! #if (defined(sun) || defined(__FreeBSD__)) && defined(S_ISCHR)
# define OPEN_CHR_FILES
static int is_dev_fd_file(char_u *fname);
#endif
*** ../vim-7.4.964/src/version.c 2015-12-11 16:16:58.550204645 +0100
--- src/version.c 2015-12-11 17:12:41.894163117 +0100
***************
*** 743,744 ****
--- 743,746 ----
{ /* Add new patch number below this line */
+ /**/
+ 965,
/**/
--
The term "free software" is defined by Richard M. Stallman as
being software that isn't necessarily for free. Confusing?
Let's call it "Stallman software" then!
-- Bram Moolenaar
/// 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.