From e60acc180b1886825246d194a2b9ce5d9bb91b2c Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Tue, 10 May 2011 16:41:25 +0200 Subject: updated for version 7.3.187 Problem: The RISC OS port has obvious errors and is not being maintained. Solution: Remove the RISC OS files and code. --- src/misc1.c | 20 ++++++++------------ 1 file changed, 8 insertions(+), 12 deletions(-) (limited to 'src/misc1.c') 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) -- cgit v1.2.1