summaryrefslogtreecommitdiff
path: root/src/misc1.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2011-05-10 16:41:25 +0200
committerBram Moolenaar <Bram@vim.org>2011-05-10 16:41:25 +0200
commite60acc180b1886825246d194a2b9ce5d9bb91b2c (patch)
treef5ab918ed519ca9ae21ef5d9ebf86649393b6200 /src/misc1.c
parent536681be5deba615f5ebe3edc3ce85ef01830876 (diff)
downloadvim-git-e60acc180b1886825246d194a2b9ce5d9bb91b2c.tar.gz
updated for version 7.3.187v7.3.187
Problem: The RISC OS port has obvious errors and is not being maintained. Solution: Remove the RISC OS files and code.
Diffstat (limited to 'src/misc1.c')
-rw-r--r--src/misc1.c20
1 files changed, 8 insertions, 12 deletions
diff --git a/src/misc1.c b/src/misc1.c
index d42606f8d..f1ab84879 100644
--- a/src/misc1.c
+++ b/src/misc1.c
@@ -4589,25 +4589,21 @@ get_past_head(path)
vim_ispathsep(c)
int c;
{
-#ifdef RISCOS
- return (c == '.' || c == ':');
-#else
-# ifdef UNIX
+#ifdef UNIX
return (c == '/'); /* UNIX has ':' inside file names */
-# else
-# ifdef BACKSLASH_IN_FILENAME
+#else
+# ifdef BACKSLASH_IN_FILENAME
return (c == ':' || c == '/' || c == '\\');
-# else
-# ifdef VMS
+# else
+# ifdef VMS
/* server"user passwd"::device:[full.path.name]fname.extension;version" */
return (c == ':' || c == '[' || c == ']' || c == '/'
|| c == '<' || c == '>' || c == '"' );
-# else /* Amiga */
+# else
return (c == ':' || c == '/');
-# endif /* VMS */
-# endif
+# endif /* VMS */
# endif
-#endif /* RISC OS */
+#endif
}
#if defined(FEAT_SEARCHPATH) || defined(PROTO)