0
0
mirror of https://github.com/vim/vim.git synced 2025-09-24 03:44:06 -04:00

patch 8.1.1985: code for dealing with paths is spread out

Problem:    Code for dealing with paths is spread out.
Solution:   Move path related functions from misc1.c to filepath.c.
            Remove NO_EXPANDPATH.
This commit is contained in:
Bram Moolenaar
2019-09-04 20:59:15 +02:00
parent 3f4f3d8e7e
commit 26262f8777
14 changed files with 2152 additions and 2173 deletions

View File

@@ -6396,7 +6396,6 @@ select_eintr:
return result;
}
#ifndef NO_EXPANDPATH
/*
* Expand a path into all matching files and/or directories. Handles "*",
* "?", "[a-z]", "**", etc.
@@ -6411,7 +6410,6 @@ mch_expandpath(
{
return unix_expandpath(gap, path, 0, flags, FALSE);
}
#endif
/*
* mch_expand_wildcards() - this code does wild-card pattern matching using