0
0
mirror of https://github.com/vim/vim.git synced 2025-09-29 04:34:16 -04:00

patch 8.1.0318: the getftype() test may fail for char devices

Problem:    The getftype() test may fail for char devices if the file
            disappeared in between the listing and the getftype() call.
Solution:   Ignore empty result. (Ozaki Kiichi, closes #3360)
This commit is contained in:
Bram Moolenaar
2018-08-22 20:16:16 +02:00
parent 320bf2d85e
commit 3b3a506f57
2 changed files with 17 additions and 3 deletions

View File

@@ -794,6 +794,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
318,
/**/
317,
/**/