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.
diff --git a/src/ex_docmd.c b/src/ex_docmd.c
index d90e964..49aadd3 100644
--- a/src/ex_docmd.c
+++ b/src/ex_docmd.c
@@ -9702,14 +9702,7 @@
valid = 0; /* Must have ":p:h" to be valid */
}
else
-#ifdef RISCOS
- /* Always use the full path for RISC OS if possible. */
- result = curbuf->b_ffname;
- if (result == NULL)
- result = curbuf->b_fname;
-#else
result = curbuf->b_fname;
-#endif
break;
case SPEC_HASH: /* '#' or "#99": alternate file */
@@ -9854,11 +9847,7 @@
if (src[*usedlen] == '<') /* remove the file name extension */
{
++*usedlen;
-#ifdef RISCOS
- if ((s = vim_strrchr(result, '/')) != NULL && s >= gettail(result))
-#else
if ((s = vim_strrchr(result, '.')) != NULL && s >= gettail(result))
-#endif
resultlen = (int)(s - result);
}
#ifdef FEAT_MODIFY_FNAME
@@ -10875,8 +10864,7 @@
else if (vim_ispathsep(*p))
{
*s++ = '=';
-#if defined(BACKSLASH_IN_FILENAME) || defined(AMIGA) || defined(RISCOS) \
- || defined(VMS)
+#if defined(BACKSLASH_IN_FILENAME) || defined(AMIGA) || defined(VMS)
if (*p == ':')
*s++ = '-';
else