0
0
mirror of https://github.com/vim/vim.git synced 2025-09-25 03:54:15 -04:00

patch 7.4.2229

Problem:    Startup test fails on Solaris.
Solution:   Recognize a character device. (Danek Duvall)
This commit is contained in:
Bram Moolenaar
2016-08-20 15:05:39 +02:00
parent 9e4d8215d3
commit f04507d132
5 changed files with 12 additions and 6 deletions

View File

@@ -219,6 +219,9 @@ open_buffer(
# endif
# ifdef S_ISSOCK
|| S_ISSOCK(perm)
# endif
# ifdef OPEN_CHR_FILES
|| (S_ISCHR(perm) && is_dev_fd_file(curbuf->b_ffname))
# endif
))
read_fifo = TRUE;