|
Karsten Hopp |
ce3e5f |
To: vim-dev@vim.org
|
|
Karsten Hopp |
ce3e5f |
Subject: patch 7.1.075
|
|
Karsten Hopp |
ce3e5f |
Fcc: outbox
|
|
Karsten Hopp |
ce3e5f |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
ce3e5f |
Mime-Version: 1.0
|
|
Karsten Hopp |
ce3e5f |
Content-Type: text/plain; charset=ISO-8859-1
|
|
Karsten Hopp |
ce3e5f |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
ce3e5f |
------------
|
|
Karsten Hopp |
ce3e5f |
|
|
Karsten Hopp |
ce3e5f |
Patch 7.1.075
|
|
Karsten Hopp |
ce3e5f |
Problem: ":let v:statusmsg" reads memory already freed.
|
|
Karsten Hopp |
ce3e5f |
Solution: Don't set v:statusmsg when listing it.
|
|
Karsten Hopp |
ce3e5f |
Files: src/eval.c
|
|
Karsten Hopp |
ce3e5f |
|
|
Karsten Hopp |
ce3e5f |
|
|
Karsten Hopp |
ce3e5f |
*** ../vim-7.1.074/src/eval.c Tue Aug 14 22:28:35 2007
|
|
Karsten Hopp |
ce3e5f |
--- src/eval.c Tue Aug 14 22:01:12 2007
|
|
Karsten Hopp |
ce3e5f |
***************
|
|
Karsten Hopp |
ce3e5f |
*** 18022,18028 ****
|
|
Karsten Hopp |
ce3e5f |
int type;
|
|
Karsten Hopp |
ce3e5f |
char_u *string;
|
|
Karsten Hopp |
ce3e5f |
{
|
|
Karsten Hopp |
ce3e5f |
! msg_attr(prefix, 0); /* don't use msg(), it overwrites "v:statusmsg" */
|
|
Karsten Hopp |
ce3e5f |
if (name != NULL) /* "a:" vars don't have a name stored */
|
|
Karsten Hopp |
ce3e5f |
msg_puts(name);
|
|
Karsten Hopp |
ce3e5f |
msg_putchar(' ');
|
|
Karsten Hopp |
ce3e5f |
--- 18022,18030 ----
|
|
Karsten Hopp |
ce3e5f |
int type;
|
|
Karsten Hopp |
ce3e5f |
char_u *string;
|
|
Karsten Hopp |
ce3e5f |
{
|
|
Karsten Hopp |
ce3e5f |
! /* don't use msg() or msg_attr() to avoid overwriting "v:statusmsg" */
|
|
Karsten Hopp |
ce3e5f |
! msg_start();
|
|
Karsten Hopp |
ce3e5f |
! msg_puts(prefix);
|
|
Karsten Hopp |
ce3e5f |
if (name != NULL) /* "a:" vars don't have a name stored */
|
|
Karsten Hopp |
ce3e5f |
msg_puts(name);
|
|
Karsten Hopp |
ce3e5f |
msg_putchar(' ');
|
|
Karsten Hopp |
ce3e5f |
*** ../vim-7.1.074/src/version.c Tue Aug 14 22:28:35 2007
|
|
Karsten Hopp |
ce3e5f |
--- src/version.c Tue Aug 14 22:39:49 2007
|
|
Karsten Hopp |
ce3e5f |
***************
|
|
Karsten Hopp |
ce3e5f |
*** 668,669 ****
|
|
Karsten Hopp |
ce3e5f |
--- 668,671 ----
|
|
Karsten Hopp |
ce3e5f |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
ce3e5f |
+ /**/
|
|
Karsten Hopp |
ce3e5f |
+ 75,
|
|
Karsten Hopp |
ce3e5f |
/**/
|
|
Karsten Hopp |
ce3e5f |
|
|
Karsten Hopp |
ce3e5f |
--
|
|
Karsten Hopp |
ce3e5f |
hundred-and-one symptoms of being an internet addict:
|
|
Karsten Hopp |
ce3e5f |
160. You get in the elevator and double-click the button for the floor
|
|
Karsten Hopp |
ce3e5f |
you want.
|
|
Karsten Hopp |
ce3e5f |
|
|
Karsten Hopp |
ce3e5f |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
ce3e5f |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
ce3e5f |
\\\ download, build and distribute -- http://www.A-A-P.org ///
|
|
Karsten Hopp |
ce3e5f |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|