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:
13
src/search.c
13
src/search.c
@@ -4581,9 +4581,6 @@ find_pattern_in_path(ptr, dir, len, whole, skip_comments,
|
||||
char_u *already = NULL;
|
||||
char_u *startp = NULL;
|
||||
char_u *inc_opt = NULL;
|
||||
#ifdef RISCOS
|
||||
int previous_munging = __riscosify_control;
|
||||
#endif
|
||||
#if defined(FEAT_WINDOWS) && defined(FEAT_QUICKFIX)
|
||||
win_T *curwin_save = NULL;
|
||||
#endif
|
||||
@@ -4596,11 +4593,6 @@ find_pattern_in_path(ptr, dir, len, whole, skip_comments,
|
||||
if (file_line == NULL)
|
||||
return;
|
||||
|
||||
#ifdef RISCOS
|
||||
/* UnixLib knows best how to munge c file names - turn munging back on. */
|
||||
int __riscosify_control = 0;
|
||||
#endif
|
||||
|
||||
if (type != CHECK_PATH && type != FIND_DEFINE
|
||||
#ifdef FEAT_INS_EXPAND
|
||||
/* when CONT_SOL is set compare "ptr" with the beginning of the line
|
||||
@@ -5228,11 +5220,6 @@ fpip_end:
|
||||
vim_free(regmatch.regprog);
|
||||
vim_free(incl_regmatch.regprog);
|
||||
vim_free(def_regmatch.regprog);
|
||||
|
||||
#ifdef RISCOS
|
||||
/* Restore previous file munging state. */
|
||||
__riscosify_control = previous_munging;
|
||||
#endif
|
||||
}
|
||||
|
||||
static void
|
||||
|
||||
Reference in New Issue
Block a user