mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
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)
This commit is contained in:
@@ -27,7 +27,7 @@
|
||||
/* Is there any system that doesn't have access()? */
|
||||
#define USE_MCH_ACCESS
|
||||
|
||||
#if defined(sun) && defined(S_ISCHR)
|
||||
#if (defined(sun) || defined(__FreeBSD__)) && defined(S_ISCHR)
|
||||
# define OPEN_CHR_FILES
|
||||
static int is_dev_fd_file(char_u *fname);
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user