summaryrefslogtreecommitdiff
path: root/src/os_unix.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-09-04 20:59:15 +0200
committerBram Moolenaar <Bram@vim.org>2019-09-04 20:59:15 +0200
commit26262f87770d3a1a68b09a70152d75c2e2ae186f (patch)
treea051b686adb302a8d050a85007aa335787ced0b4 /src/os_unix.c
parent3f4f3d8e7e6fc0494d00cfb75669a554c8e67c8b (diff)
downloadvim-git-26262f87770d3a1a68b09a70152d75c2e2ae186f.tar.gz
patch 8.1.1985: code for dealing with paths is spread outv8.1.1985
Problem: Code for dealing with paths is spread out. Solution: Move path related functions from misc1.c to filepath.c. Remove NO_EXPANDPATH.
Diffstat (limited to 'src/os_unix.c')
-rw-r--r--src/os_unix.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/os_unix.c b/src/os_unix.c
index 437b37ab0..5efb5d135 100644
--- a/src/os_unix.c
+++ b/src/os_unix.c
@@ -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