mirror of
https://github.com/vim/vim.git
synced 2025-10-13 06:54:15 -04:00
patch 8.1.0262: not enough testing for getftype()
Problem: Not enough testing for getftype(). Solution: Add a test. (Dominique Pelle, closes #3300)
This commit is contained in:
@@ -5111,7 +5111,7 @@ f_getftype(typval_T *argvars, typval_T *rettv)
|
||||
# endif
|
||||
# ifdef S_ISSOCK
|
||||
else if (S_ISSOCK(st.st_mode))
|
||||
t = "fifo";
|
||||
t = "socket";
|
||||
# endif
|
||||
else
|
||||
t = "other";
|
||||
|
Reference in New Issue
Block a user