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:
@@ -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
|
||||
|
Reference in New Issue
Block a user