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