]> granicus.if.org Git - vim/commit
patch 8.1.0318: the getftype() test may fail for char devices v8.1.0318
authorBram Moolenaar <Bram@vim.org>
Wed, 22 Aug 2018 18:16:16 +0000 (20:16 +0200)
committerBram Moolenaar <Bram@vim.org>
Wed, 22 Aug 2018 18:16:16 +0000 (20:16 +0200)
commit3b3a506f57a397d83db361be35189c591bff10fb
treea9f213bfe2b54584796a4ac47633d844ed903ab5
parent320bf2d85e9e2924d896b3072979598c954922e7
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)
src/testdir/test_stat.vim
src/version.c