summaryrefslogtreecommitdiff
path: root/src/ex_cmds.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/ex_cmds.c
parent536681be5deba615f5ebe3edc3ce85ef01830876 (diff)
downloadvim-e60acc180b1886825246d194a2b9ce5d9bb91b2c.zip
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.
Diffstat (limited to 'src/ex_cmds.c')
-rw-r--r--src/ex_cmds.c26
1 files changed, 1 insertions, 25 deletions
diff --git a/src/ex_cmds.c b/src/ex_cmds.c
index 2acb8edd1..9d2bdc798 100644
--- a/src/ex_cmds.c
+++ b/src/ex_cmds.c
@@ -899,9 +899,6 @@ free_prev_shellcmd()
* Handle the ":!cmd" command. Also for ":r !cmd" and ":w !cmd"
* Bangs in the argument are replaced with the previously entered command.
* Remember the argument.
- *
- * RISCOS: Bangs only replaced when followed by a space, since many
- * pathnames contain one.
*/
void
do_bang(addr_count, eap, forceit, do_in, do_out)
@@ -980,11 +977,7 @@ do_bang(addr_count, eap, forceit, do_in, do_out)
trailarg = NULL;
while (*p)
{
- if (*p == '!'
-#ifdef RISCOS
- && (p[1] == ' ' || p[1] == NUL)
-#endif
- )
+ if (*p == '!')
{
if (p > newcmd && p[-1] == '\\')
STRMOVE(p - 1, p);
@@ -1578,14 +1571,8 @@ make_filter_cmd(cmd, itmp, otmp)
if (p != NULL)
*p = NUL;
}
-# ifdef RISCOS
- STRCAT(buf, " { < "); /* Use RISC OS notation for input. */
- STRCAT(buf, itmp);
- STRCAT(buf, " } ");
-# else
STRCAT(buf, " <"); /* " < " causes problems on Amiga */
STRCAT(buf, itmp);
-# endif
if (*p_shq == NUL)
{
p = vim_strchr(cmd, '|');
@@ -1634,16 +1621,9 @@ append_redir(buf, buflen, opt, fname)
else
vim_snprintf((char *)end, (size_t)(buflen - (end - buf)),
#ifdef FEAT_QUICKFIX
-# ifndef RISCOS
- opt != p_sp ? " %s%s" :
-# endif
" %s %s",
#else
-# ifndef RISCOS
" %s%s", /* " > %s" causes problems on Amiga */
-# else
- " %s %s", /* But is needed for 'shellpipe' and RISC OS */
-# endif
#endif
(char *)opt, (char *)fname);
}
@@ -1844,11 +1824,7 @@ write_viminfo(file, forceit)
#ifdef VMS
(char_u *)"-tmp",
#else
-# ifdef RISCOS
- (char_u *)"/tmp",
-# else
(char_u *)".tmp",
-# endif
#endif
FALSE);
if (tempname == NULL) /* out of memory */