|
Karsten Hopp |
a3e46b |
To: vim-dev@vim.org
|
|
Karsten Hopp |
a3e46b |
Subject: Patch 7.3.004
|
|
Karsten Hopp |
a3e46b |
Fcc: outbox
|
|
Karsten Hopp |
a3e46b |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
a3e46b |
Mime-Version: 1.0
|
|
Karsten Hopp |
a3e46b |
Content-Type: text/plain; charset=UTF-8
|
|
Karsten Hopp |
a3e46b |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
a3e46b |
------------
|
|
Karsten Hopp |
a3e46b |
|
|
Karsten Hopp |
a3e46b |
Patch 7.3.004
|
|
Karsten Hopp |
a3e46b |
Problem: Crash when using very long regexp. (Peter Odding)
|
|
Karsten Hopp |
a3e46b |
Solution: Reset reg_toolong. (Carlo Teubner)
|
|
Karsten Hopp |
a3e46b |
Files: src/regexp.c
|
|
Karsten Hopp |
a3e46b |
|
|
Karsten Hopp |
a3e46b |
|
|
Karsten Hopp |
a3e46b |
*** ../vim-7.3.003/src/regexp.c 2010-08-15 21:57:29.000000000 +0200
|
|
Karsten Hopp |
a3e46b |
--- src/regexp.c 2010-09-14 10:51:22.000000000 +0200
|
|
Karsten Hopp |
a3e46b |
***************
|
|
Karsten Hopp |
a3e46b |
*** 3538,3543 ****
|
|
Karsten Hopp |
a3e46b |
--- 3538,3544 ----
|
|
Karsten Hopp |
a3e46b |
|
|
Karsten Hopp |
a3e46b |
regline = line;
|
|
Karsten Hopp |
a3e46b |
reglnum = 0;
|
|
Karsten Hopp |
a3e46b |
+ reg_toolong = FALSE;
|
|
Karsten Hopp |
a3e46b |
|
|
Karsten Hopp |
a3e46b |
/* Simplest case: Anchored match need be tried only once. */
|
|
Karsten Hopp |
a3e46b |
if (prog->reganch)
|
|
Karsten Hopp |
a3e46b |
*** ../vim-7.3.003/src/version.c 2010-08-17 20:23:18.000000000 +0200
|
|
Karsten Hopp |
a3e46b |
--- src/version.c 2010-09-14 10:52:09.000000000 +0200
|
|
Karsten Hopp |
a3e46b |
***************
|
|
Karsten Hopp |
a3e46b |
*** 716,717 ****
|
|
Karsten Hopp |
a3e46b |
--- 716,719 ----
|
|
Karsten Hopp |
a3e46b |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
a3e46b |
+ /**/
|
|
Karsten Hopp |
a3e46b |
+ 4,
|
|
Karsten Hopp |
a3e46b |
/**/
|
|
Karsten Hopp |
a3e46b |
|
|
Karsten Hopp |
a3e46b |
--
|
|
Karsten Hopp |
a3e46b |
I have a watch cat! Just break in and she'll watch.
|
|
Karsten Hopp |
a3e46b |
|
|
Karsten Hopp |
a3e46b |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
a3e46b |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
a3e46b |
\\\ download, build and distribute -- http://www.A-A-P.org ///
|
|
Karsten Hopp |
a3e46b |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|