|
|
3ef2ca |
To: vim_dev@googlegroups.com
|
|
|
3ef2ca |
Subject: Patch 7.4.619
|
|
|
3ef2ca |
Fcc: outbox
|
|
|
3ef2ca |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
|
3ef2ca |
Mime-Version: 1.0
|
|
|
3ef2ca |
Content-Type: text/plain; charset=UTF-8
|
|
|
3ef2ca |
Content-Transfer-Encoding: 8bit
|
|
|
3ef2ca |
------------
|
|
|
3ef2ca |
|
|
|
3ef2ca |
Patch 7.4.619 (after 7.4.618)
|
|
|
3ef2ca |
Problem: luaV_setref() not returning the correct value.
|
|
|
3ef2ca |
Solution: Return one.
|
|
|
3ef2ca |
Files: src/if_lua.c
|
|
|
3ef2ca |
|
|
|
3ef2ca |
|
|
|
3ef2ca |
*** ../vim-7.4.618/src/if_lua.c 2015-02-03 23:10:41.574348921 +0100
|
|
|
3ef2ca |
--- src/if_lua.c 2015-02-04 22:01:19.649852981 +0100
|
|
|
3ef2ca |
***************
|
|
|
3ef2ca |
*** 1517,1523 ****
|
|
|
3ef2ca |
return 0;
|
|
|
3ef2ca |
}
|
|
|
3ef2ca |
luaV_totypval(L, -1, rettv);
|
|
|
3ef2ca |
! return 0;
|
|
|
3ef2ca |
}
|
|
|
3ef2ca |
|
|
|
3ef2ca |
static int
|
|
|
3ef2ca |
--- 1517,1523 ----
|
|
|
3ef2ca |
return 0;
|
|
|
3ef2ca |
}
|
|
|
3ef2ca |
luaV_totypval(L, -1, rettv);
|
|
|
3ef2ca |
! return 1;
|
|
|
3ef2ca |
}
|
|
|
3ef2ca |
|
|
|
3ef2ca |
static int
|
|
|
3ef2ca |
***************
|
|
|
3ef2ca |
*** 1530,1536 ****
|
|
|
3ef2ca |
luaV_getfield(L, LUAVIM_LIST);
|
|
|
3ef2ca |
luaV_getfield(L, LUAVIM_DICT);
|
|
|
3ef2ca |
lua_pushnil(L);
|
|
|
3ef2ca |
! while (!abort && lua_next(L, lua_upvalueindex(1)) != 0) /* traverse cache table */
|
|
|
3ef2ca |
{
|
|
|
3ef2ca |
lua_getmetatable(L, -1);
|
|
|
3ef2ca |
if (lua_rawequal(L, -1, 2)) /* list? */
|
|
|
3ef2ca |
--- 1530,1537 ----
|
|
|
3ef2ca |
luaV_getfield(L, LUAVIM_LIST);
|
|
|
3ef2ca |
luaV_getfield(L, LUAVIM_DICT);
|
|
|
3ef2ca |
lua_pushnil(L);
|
|
|
3ef2ca |
! /* traverse cache table */
|
|
|
3ef2ca |
! while (!abort && lua_next(L, lua_upvalueindex(1)) != 0)
|
|
|
3ef2ca |
{
|
|
|
3ef2ca |
lua_getmetatable(L, -1);
|
|
|
3ef2ca |
if (lua_rawequal(L, -1, 2)) /* list? */
|
|
|
3ef2ca |
*** ../vim-7.4.618/src/version.c 2015-02-03 23:10:41.574348921 +0100
|
|
|
3ef2ca |
--- src/version.c 2015-02-04 22:02:02.317286761 +0100
|
|
|
3ef2ca |
***************
|
|
|
3ef2ca |
*** 743,744 ****
|
|
|
3ef2ca |
--- 743,746 ----
|
|
|
3ef2ca |
{ /* Add new patch number below this line */
|
|
|
3ef2ca |
+ /**/
|
|
|
3ef2ca |
+ 619,
|
|
|
3ef2ca |
/**/
|
|
|
3ef2ca |
|
|
|
3ef2ca |
--
|
|
|
3ef2ca |
I'm so disorganized my keyboard isn't even in alphabetical order!
|
|
|
3ef2ca |
|
|
|
3ef2ca |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
|
3ef2ca |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
|
3ef2ca |
\\\ an exciting new programming language -- http://www.Zimbu.org ///
|
|
|
3ef2ca |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|