]> granicus.if.org Git - vim/commit
patch 9.0.1400: find_file_in_path() is not reentrant v9.0.1400
authorBram Moolenaar <Bram@vim.org>
Sat, 11 Mar 2023 13:55:53 +0000 (13:55 +0000)
committerBram Moolenaar <Bram@vim.org>
Sat, 11 Mar 2023 13:55:53 +0000 (13:55 +0000)
commit5145c9a829cd43cb9e7962b181bf99226eb3a53f
treeb429ed22ce38615b700ef0b868dd6cf5924d7532
parent4df0772a41c361a1c40d220f6fad0b1e1653fc5b
patch 9.0.1400: find_file_in_path() is not reentrant

Problem:    find_file_in_path() is not reentrant.
Solution:   Instead of global variables pass pointers to the functions.
            (closes #12093)
src/ex_docmd.c
src/filepath.c
src/findfile.c
src/misc2.c
src/proto/findfile.pro
src/version.c