summaryrefslogtreecommitdiff
path: root/src/quickfix.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/quickfix.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/quickfix.c')
-rw-r--r--src/quickfix.c13
1 files changed, 4 insertions, 9 deletions
diff --git a/src/quickfix.c b/src/quickfix.c
index 1876093f8..9308d4b1e 100644
--- a/src/quickfix.c
+++ b/src/quickfix.c
@@ -1182,21 +1182,17 @@ qf_get_fnum(directory, fname)
if (fname == NULL || *fname == NUL) /* no file name */
return 0;
{
-#ifdef RISCOS
- /* Name is reported as `main.c', but file is `c.main' */
- return ro_buflist_add(fname);
-#else
char_u *ptr;
int fnum;
-# ifdef VMS
+#ifdef VMS
vms_remove_version(fname);
-# endif
-# ifdef BACKSLASH_IN_FILENAME
+#endif
+#ifdef BACKSLASH_IN_FILENAME
if (directory != NULL)
slash_adjust(directory);
slash_adjust(fname);
-# endif
+#endif
if (directory != NULL && !vim_isAbsName(fname)
&& (ptr = concat_fnames(directory, fname, TRUE)) != NULL)
{
@@ -1221,7 +1217,6 @@ qf_get_fnum(directory, fname)
return fnum;
}
return buflist_add(fname, 0);
-#endif
}
}