]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.1.0566: Stop dir in findfile() doesn't work properly w/o trailing slash v9.1.0566
authorzeertzjq <zeertzjq@outlook.com>
Thu, 11 Jul 2024 20:22:26 +0000 (22:22 +0200)
committerChristian Brabandt <cb@256bit.org>
Thu, 11 Jul 2024 20:25:54 +0000 (22:25 +0200)
commite6ab23bd4a41840860ae2904956c4d255a9dd528
treef388186811033dc3063904319eb940bb1e70f0d3
parent68819afb2cdd0f44baa080db589e1d8f77099e5f
patch 9.1.0566: Stop dir in findfile() doesn't work properly w/o trailing slash

Problem:  Stop directory in findfile() doesn't work properly without a
          trailing slash.
Solution: Always use fnamencmp(), not fnamecmp().

related: #15200
related: #15202

Signed-off-by: zeertzjq <zeertzjq@outlook.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
src/findfile.c
src/testdir/test_findfile.vim
src/version.c