commit | 3b3a506f57a397d83db361be35189c591bff10fb | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Wed Aug 22 20:16:16 2018 +0200 |
committer | Bram Moolenaar <Bram@vim.org> | Wed Aug 22 20:16:16 2018 +0200 |
tree | a9f213bfe2b54584796a4ac47633d844ed903ab5 | |
parent | 320bf2d85e9e2924d896b3072979598c954922e7 [diff] [blame] |
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)
diff --git a/src/version.c b/src/version.c index d599381..1afe230 100644 --- a/src/version.c +++ b/src/version.c
@@ -795,6 +795,8 @@ static int included_patches[] = { /* Add new patch number below this line */ /**/ + 318, +/**/ 317, /**/ 316,