diff options
Diffstat (limited to 'src/quickfix.c')
-rw-r--r-- | src/quickfix.c | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/src/quickfix.c b/src/quickfix.c index d9ce186cf..c34f47f79 100644 --- a/src/quickfix.c +++ b/src/quickfix.c @@ -2418,27 +2418,6 @@ ex_vimgrep(eap) else { found_match = FALSE; -#if 0 -#ifdef HAVE_SETJMP_H - /* - * Matching with a regexp may cause a very deep recursive call of - * regmatch(). Vim will crash when running out of stack space. - * Catch this here if the system supports it. - * It's a bit slow, thus do it outside of the loop. - */ - mch_startjmp(); - if (SETJMP(lc_jump_env) != 0) - { - mch_didjmp(); -# ifdef SIGHASARG - if (lc_signal != SIGINT) -# endif - EMSG(_(e_complex)); - got_int = TRUE; - goto jumpend; - } -#endif -#endif /* Try for a match in all lines of the buffer. */ for (lnum = 1; lnum <= buf->b_ml.ml_line_count; ++lnum) { @@ -2477,12 +2456,6 @@ ex_vimgrep(eap) if (got_int) break; } -#if 0 -#ifdef HAVE_SETJMP_H -jumpend: - mch_endjmp(); -#endif -#endif if (using_dummy) { |