1
0
forked from aniani/vim

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.
This commit is contained in:
Bram Moolenaar
2011-05-10 16:41:25 +02:00
parent 536681be5d
commit e60acc180b
22 changed files with 43 additions and 634 deletions

View File

@@ -9702,14 +9702,7 @@ eval_vars(src, srcstart, usedlen, lnump, errormsg, escaped)
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 @@ eval_vars(src, srcstart, usedlen, lnump, errormsg, escaped)
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 @@ get_view_file(c)
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