mirror of
https://github.com/neovim/neovim.git
synced 2025-10-08 02:46:31 +00:00
cleanup: remove mch_fopen in favor of os_fopen
This commit is contained in:
@@ -4575,10 +4575,9 @@ find_pattern_in_path(
|
||||
xfree(files);
|
||||
files = bigger;
|
||||
}
|
||||
if ((files[depth + 1].fp = mch_fopen((char *)new_fname, "r"))
|
||||
== NULL)
|
||||
if ((files[depth + 1].fp = os_fopen((char *)new_fname, "r")) == NULL) {
|
||||
xfree(new_fname);
|
||||
else {
|
||||
} else {
|
||||
if (++depth == old_files) {
|
||||
// Something wrong. We will forget one of our already visited files
|
||||
// now.
|
||||
|
Reference in New Issue
Block a user