|
Karsten Hopp |
b763dc |
To: vim-dev@vim.org
|
|
Karsten Hopp |
b763dc |
Subject: Patch 7.0.069
|
|
Karsten Hopp |
b763dc |
Fcc: outbox
|
|
Karsten Hopp |
b763dc |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
b763dc |
Mime-Version: 1.0
|
|
Karsten Hopp |
b763dc |
Content-Type: text/plain; charset=ISO-8859-1
|
|
Karsten Hopp |
b763dc |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
b763dc |
------------
|
|
Karsten Hopp |
b763dc |
|
|
Karsten Hopp |
b763dc |
Patch 7.0.069
|
|
Karsten Hopp |
b763dc |
Problem: Setting 'guitablabel' to %!expand(\%) causes Vim to free an
|
|
Karsten Hopp |
b763dc |
invalid pointer. (Kim Schulz)
|
|
Karsten Hopp |
b763dc |
Solution: Don't try freeing a constant string pointer.
|
|
Karsten Hopp |
b763dc |
Files: src/buffer.c
|
|
Karsten Hopp |
b763dc |
|
|
Karsten Hopp |
b763dc |
|
|
Karsten Hopp |
b763dc |
*** ../vim-7.0.068/src/buffer.c Wed Aug 16 19:34:59 2006
|
|
Karsten Hopp |
b763dc |
--- src/buffer.c Tue Aug 29 16:23:49 2006
|
|
Karsten Hopp |
b763dc |
***************
|
|
Karsten Hopp |
b763dc |
*** 3324,3330 ****
|
|
Karsten Hopp |
b763dc |
{
|
|
Karsten Hopp |
b763dc |
usefmt = eval_to_string_safe(fmt + 2, NULL, use_sandbox);
|
|
Karsten Hopp |
b763dc |
if (usefmt == NULL)
|
|
Karsten Hopp |
b763dc |
! usefmt = (char_u *)"";
|
|
Karsten Hopp |
b763dc |
}
|
|
Karsten Hopp |
b763dc |
#endif
|
|
Karsten Hopp |
b763dc |
|
|
Karsten Hopp |
b763dc |
--- 3324,3330 ----
|
|
Karsten Hopp |
b763dc |
{
|
|
Karsten Hopp |
b763dc |
usefmt = eval_to_string_safe(fmt + 2, NULL, use_sandbox);
|
|
Karsten Hopp |
b763dc |
if (usefmt == NULL)
|
|
Karsten Hopp |
b763dc |
! usefmt = fmt;
|
|
Karsten Hopp |
b763dc |
}
|
|
Karsten Hopp |
b763dc |
#endif
|
|
Karsten Hopp |
b763dc |
|
|
Karsten Hopp |
b763dc |
*** ../vim-7.0.068/src/version.c Tue Aug 29 16:33:23 2006
|
|
Karsten Hopp |
b763dc |
--- src/version.c Tue Aug 29 16:48:08 2006
|
|
Karsten Hopp |
b763dc |
***************
|
|
Karsten Hopp |
b763dc |
*** 668,669 ****
|
|
Karsten Hopp |
b763dc |
--- 668,671 ----
|
|
Karsten Hopp |
b763dc |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
b763dc |
+ /**/
|
|
Karsten Hopp |
b763dc |
+ 69,
|
|
Karsten Hopp |
b763dc |
/**/
|
|
Karsten Hopp |
b763dc |
|
|
Karsten Hopp |
b763dc |
--
|
|
Karsten Hopp |
b763dc |
Two fish in a tank. One says to the other:
|
|
Karsten Hopp |
b763dc |
"Do you know how to drive this thing?"
|
|
Karsten Hopp |
b763dc |
|
|
Karsten Hopp |
b763dc |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
b763dc |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
b763dc |
\\\ download, build and distribute -- http://www.A-A-P.org ///
|
|
Karsten Hopp |
b763dc |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|