|
Karsten Hopp |
c708c4 |
To: vim_dev@googlegroups.com
|
|
Karsten Hopp |
c708c4 |
Subject: Patch 7.3.360
|
|
Karsten Hopp |
c708c4 |
Fcc: outbox
|
|
Karsten Hopp |
c708c4 |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
c708c4 |
Mime-Version: 1.0
|
|
Karsten Hopp |
c708c4 |
Content-Type: text/plain; charset=UTF-8
|
|
Karsten Hopp |
c708c4 |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
c708c4 |
------------
|
|
Karsten Hopp |
c708c4 |
|
|
Karsten Hopp |
c708c4 |
Patch 7.3.360
|
|
Karsten Hopp |
c708c4 |
Problem: Interrupting the load of an autoload function may cause a crash.
|
|
Karsten Hopp |
c708c4 |
Solution: Do not use the hashitem when not valid. (Yukihiro Nakadaira)
|
|
Karsten Hopp |
c708c4 |
Files: src/eval.c
|
|
Karsten Hopp |
c708c4 |
|
|
Karsten Hopp |
c708c4 |
|
|
Karsten Hopp |
c708c4 |
*** ../vim-7.3.359/src/eval.c 2011-11-30 14:57:26.000000000 +0100
|
|
Karsten Hopp |
c708c4 |
--- src/eval.c 2011-11-30 15:06:53.000000000 +0100
|
|
Karsten Hopp |
c708c4 |
***************
|
|
Karsten Hopp |
c708c4 |
*** 19589,19597 ****
|
|
Karsten Hopp |
c708c4 |
* worked find the variable again. Don't auto-load a script if it was
|
|
Karsten Hopp |
c708c4 |
* loaded already, otherwise it would be loaded every time when
|
|
Karsten Hopp |
c708c4 |
* checking if a function name is a Funcref variable. */
|
|
Karsten Hopp |
c708c4 |
! if (ht == &globvarht && !writing
|
|
Karsten Hopp |
c708c4 |
! && script_autoload(varname, FALSE) && !aborting())
|
|
Karsten Hopp |
c708c4 |
hi = hash_find(ht, varname);
|
|
Karsten Hopp |
c708c4 |
if (HASHITEM_EMPTY(hi))
|
|
Karsten Hopp |
c708c4 |
return NULL;
|
|
Karsten Hopp |
c708c4 |
}
|
|
Karsten Hopp |
c708c4 |
--- 19589,19602 ----
|
|
Karsten Hopp |
c708c4 |
* worked find the variable again. Don't auto-load a script if it was
|
|
Karsten Hopp |
c708c4 |
* loaded already, otherwise it would be loaded every time when
|
|
Karsten Hopp |
c708c4 |
* checking if a function name is a Funcref variable. */
|
|
Karsten Hopp |
c708c4 |
! if (ht == &globvarht && !writing)
|
|
Karsten Hopp |
c708c4 |
! {
|
|
Karsten Hopp |
c708c4 |
! /* Note: script_autoload() may make "hi" invalid. It must either
|
|
Karsten Hopp |
c708c4 |
! * be obtained again or not used. */
|
|
Karsten Hopp |
c708c4 |
! if (!script_autoload(varname, FALSE) || aborting())
|
|
Karsten Hopp |
c708c4 |
! return NULL;
|
|
Karsten Hopp |
c708c4 |
hi = hash_find(ht, varname);
|
|
Karsten Hopp |
c708c4 |
+ }
|
|
Karsten Hopp |
c708c4 |
if (HASHITEM_EMPTY(hi))
|
|
Karsten Hopp |
c708c4 |
return NULL;
|
|
Karsten Hopp |
c708c4 |
}
|
|
Karsten Hopp |
c708c4 |
*** ../vim-7.3.359/src/version.c 2011-11-30 14:57:26.000000000 +0100
|
|
Karsten Hopp |
c708c4 |
--- src/version.c 2011-11-30 15:17:28.000000000 +0100
|
|
Karsten Hopp |
c708c4 |
***************
|
|
Karsten Hopp |
c708c4 |
*** 716,717 ****
|
|
Karsten Hopp |
c708c4 |
--- 716,719 ----
|
|
Karsten Hopp |
c708c4 |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
c708c4 |
+ /**/
|
|
Karsten Hopp |
c708c4 |
+ 360,
|
|
Karsten Hopp |
c708c4 |
/**/
|
|
Karsten Hopp |
c708c4 |
|
|
Karsten Hopp |
c708c4 |
--
|
|
Karsten Hopp |
c708c4 |
hundred-and-one symptoms of being an internet addict:
|
|
Karsten Hopp |
c708c4 |
217. Your sex life has drastically improved...so what if it's only cyber-sex!
|
|
Karsten Hopp |
c708c4 |
|
|
Karsten Hopp |
c708c4 |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
c708c4 |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
c708c4 |
\\\ an exciting new programming language -- http://www.Zimbu.org ///
|
|
Karsten Hopp |
c708c4 |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|