summaryrefslogtreecommitdiffstats
path: root/src/misc1.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2017-10-28 21:11:06 +0200
committerBram Moolenaar <Bram@vim.org>2017-10-28 21:11:06 +0200
commitd057301b1f28736f094affa17b190244ad56e8d9 (patch)
treeae20801354321a5ff0d7d23b04d8d6018c57645a /src/misc1.c
parentef83956e1e67736b4c6b886d897b74f022622a74 (diff)
patch 8.0.1236: Mac features are confusingv8.0.1236
Problem: Mac features are confusing. Solution: Make feature names more consistent, add "osxdarwin". Rename feature flags, cleanup Mac code. (Kazunobu Kuriyama, closes #2178)
Diffstat (limited to 'src/misc1.c')
-rw-r--r--src/misc1.c11
1 files changed, 2 insertions, 9 deletions
diff --git a/src/misc1.c b/src/misc1.c
index eb893f6ee6..f33fd3b9e6 100644
--- a/src/misc1.c
+++ b/src/misc1.c
@@ -4334,12 +4334,8 @@ vim_getenv(char_u *name, int *mustfree)
}
/* remove trailing path separator */
-#ifndef MACOS_CLASSIC
- /* With MacOS path (with colons) the final colon is required */
- /* to avoid confusion between absolute and relative path */
if (pend > p && after_pathsep(p, pend))
--pend;
-#endif
#ifdef MACOS_X
if (p == exe_name || p == p_hf)
@@ -4499,9 +4495,9 @@ get_env_name(
expand_T *xp UNUSED,
int idx)
{
-# if defined(AMIGA) || defined(__MRC__) || defined(__SC__)
+# if defined(AMIGA)
/*
- * No environ[] on the Amiga and on the Mac (using MPW).
+ * No environ[] on the Amiga.
*/
return NULL;
# else
@@ -10996,9 +10992,6 @@ gen_expand_wildcards(
{
char_u *t = backslash_halve_save(p);
-#if defined(MACOS_CLASSIC)
- slash_to_colon(t);
-#endif
/* When EW_NOTFOUND is used, always add files and dirs. Makes
* "vim c:/" work. */
if (flags & EW_NOTFOUND)