aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/fileio.c
diff options
context:
space:
mode:
authorckelsel <ckelsel@hotmail.com>2017-07-10 07:58:40 +0800
committerJames McCoy <jamessan@jamessan.com>2017-07-13 23:09:03 -0400
commit2999d7c0e89087f76711e914eb65af55578a6691 (patch)
tree6cfe164c90b6c31521cae5a31fd9eb475e6022cd /src/nvim/fileio.c
parent04de6a64e2f7b3b235acd4ab779bfed30e59451f (diff)
downloadrneovim-2999d7c0e89087f76711e914eb65af55578a6691.tar.gz
rneovim-2999d7c0e89087f76711e914eb65af55578a6691.tar.bz2
rneovim-2999d7c0e89087f76711e914eb65af55578a6691.zip
vim-patch:7.4.2229
https://github.com/vim/vim/commit/f04507d132fbcb63999167ec006fc6e700b5af4f Author: Bram Moolenaar <Bram@vim.org> Date: Sat Aug 20 15:05:39 2016 +0200 patch 7.4.2229 Problem: Startup test fails on Solaris. Solution: Recognize a character device. (Danek Duvall)
Diffstat (limited to 'src/nvim/fileio.c')
-rw-r--r--src/nvim/fileio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/fileio.c b/src/nvim/fileio.c
index dcef09e21f..41117fdd3d 100644
--- a/src/nvim/fileio.c
+++ b/src/nvim/fileio.c
@@ -1974,7 +1974,7 @@ failed:
/// Do not accept "/dev/fd/[012]", opening these may hang Vim.
///
/// @param fname file name to check
-static bool is_dev_fd_file(char_u *fname)
+bool is_dev_fd_file(char_u *fname)
FUNC_ATTR_NONNULL_ALL FUNC_ATTR_WARN_UNUSED_RESULT
{
return STRNCMP(fname, "/dev/fd/", 8) == 0