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