Mercurial > vim
diff src/misc1.c @ 2823:8bd38abda314 v7.3.187
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.
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Tue, 10 May 2011 16:41:25 +0200 |
parents | 21346361ce6c |
children | 8dbea5adc937 |
line wrap: on
line diff
--- 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)