|
Karsten Hopp |
e16b7f |
To: vim_dev@googlegroups.com
|
|
Karsten Hopp |
e16b7f |
Subject: Patch 7.3.517
|
|
Karsten Hopp |
e16b7f |
Fcc: outbox
|
|
Karsten Hopp |
e16b7f |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
e16b7f |
Mime-Version: 1.0
|
|
Karsten Hopp |
e16b7f |
Content-Type: text/plain; charset=UTF-8
|
|
Karsten Hopp |
e16b7f |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
e16b7f |
------------
|
|
Karsten Hopp |
e16b7f |
|
|
Karsten Hopp |
e16b7f |
Patch 7.3.517
|
|
Karsten Hopp |
e16b7f |
Problem: Crash when using "vipvv". (Alexandre Provencio)
|
|
Karsten Hopp |
e16b7f |
Solution: Don't let the text length become negative.
|
|
Karsten Hopp |
e16b7f |
Files: src/ops.c
|
|
Karsten Hopp |
e16b7f |
|
|
Karsten Hopp |
e16b7f |
|
|
Karsten Hopp |
e16b7f |
*** ../vim-7.3.516/src/ops.c 2012-04-20 13:46:02.000000000 +0200
|
|
Karsten Hopp |
e16b7f |
--- src/ops.c 2012-05-18 12:28:09.000000000 +0200
|
|
Karsten Hopp |
e16b7f |
***************
|
|
Karsten Hopp |
e16b7f |
*** 3042,3047 ****
|
|
Karsten Hopp |
e16b7f |
--- 3042,3049 ----
|
|
Karsten Hopp |
e16b7f |
}
|
|
Karsten Hopp |
e16b7f |
#endif
|
|
Karsten Hopp |
e16b7f |
}
|
|
Karsten Hopp |
e16b7f |
+ if (endcol == MAXCOL)
|
|
Karsten Hopp |
e16b7f |
+ endcol = (colnr_T)STRLEN(p);
|
|
Karsten Hopp |
e16b7f |
if (startcol > endcol
|
|
Karsten Hopp |
e16b7f |
#ifdef FEAT_VIRTUALEDIT
|
|
Karsten Hopp |
e16b7f |
|| is_oneChar
|
|
Karsten Hopp |
e16b7f |
***************
|
|
Karsten Hopp |
e16b7f |
*** 3050,3057 ****
|
|
Karsten Hopp |
e16b7f |
bd.textlen = 0;
|
|
Karsten Hopp |
e16b7f |
else
|
|
Karsten Hopp |
e16b7f |
{
|
|
Karsten Hopp |
e16b7f |
- if (endcol == MAXCOL)
|
|
Karsten Hopp |
e16b7f |
- endcol = (colnr_T)STRLEN(p);
|
|
Karsten Hopp |
e16b7f |
bd.textlen = endcol - startcol + oap->inclusive;
|
|
Karsten Hopp |
e16b7f |
}
|
|
Karsten Hopp |
e16b7f |
bd.textstart = p + startcol;
|
|
Karsten Hopp |
e16b7f |
--- 3052,3057 ----
|
|
Karsten Hopp |
e16b7f |
*** ../vim-7.3.516/src/version.c 2012-05-18 12:06:58.000000000 +0200
|
|
Karsten Hopp |
e16b7f |
--- src/version.c 2012-05-18 12:48:51.000000000 +0200
|
|
Karsten Hopp |
e16b7f |
***************
|
|
Karsten Hopp |
e16b7f |
*** 716,717 ****
|
|
Karsten Hopp |
e16b7f |
--- 716,719 ----
|
|
Karsten Hopp |
e16b7f |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
e16b7f |
+ /**/
|
|
Karsten Hopp |
e16b7f |
+ 517,
|
|
Karsten Hopp |
e16b7f |
/**/
|
|
Karsten Hopp |
e16b7f |
|
|
Karsten Hopp |
e16b7f |
--
|
|
Karsten Hopp |
e16b7f |
BODY: I'm not dead!
|
|
Karsten Hopp |
e16b7f |
CART DRIVER: 'Ere. He says he's not dead.
|
|
Karsten Hopp |
e16b7f |
LARGE MAN: Yes he is.
|
|
Karsten Hopp |
e16b7f |
BODY: I'm not!
|
|
Karsten Hopp |
e16b7f |
"Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
|
|
Karsten Hopp |
e16b7f |
|
|
Karsten Hopp |
e16b7f |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
e16b7f |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
e16b7f |
\\\ an exciting new programming language -- http://www.Zimbu.org ///
|
|
Karsten Hopp |
e16b7f |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|