Karsten Hopp 6ff122
To: vim_dev@googlegroups.com
Karsten Hopp 6ff122
Subject: Patch 7.4.621
Karsten Hopp 6ff122
Fcc: outbox
Karsten Hopp 6ff122
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp 6ff122
Mime-Version: 1.0
Karsten Hopp 6ff122
Content-Type: text/plain; charset=UTF-8
Karsten Hopp 6ff122
Content-Transfer-Encoding: 8bit
Karsten Hopp 6ff122
------------
Karsten Hopp 6ff122
Karsten Hopp 6ff122
Patch 7.4.621 (after 7.4.619)
Karsten Hopp 6ff122
Problem:    Returning 1 in the wrong function. (Raymond Ko)
Karsten Hopp 6ff122
Solution:   Return 1 in the right function (hopefully).
Karsten Hopp 6ff122
Files:	    src/if_lua.c
Karsten Hopp 6ff122
Karsten Hopp 6ff122
Karsten Hopp 6ff122
*** ../vim-7.4.620/src/if_lua.c	2015-02-04 22:02:33.184877183 +0100
Karsten Hopp 6ff122
--- src/if_lua.c	2015-02-04 23:01:52.189364426 +0100
Karsten Hopp 6ff122
***************
Karsten Hopp 6ff122
*** 1517,1523 ****
Karsten Hopp 6ff122
  	return 0;
Karsten Hopp 6ff122
      }
Karsten Hopp 6ff122
      luaV_totypval(L, -1, rettv);
Karsten Hopp 6ff122
!     return 1;
Karsten Hopp 6ff122
  }
Karsten Hopp 6ff122
  
Karsten Hopp 6ff122
      static int
Karsten Hopp 6ff122
--- 1517,1523 ----
Karsten Hopp 6ff122
  	return 0;
Karsten Hopp 6ff122
      }
Karsten Hopp 6ff122
      luaV_totypval(L, -1, rettv);
Karsten Hopp 6ff122
!     return 0;
Karsten Hopp 6ff122
  }
Karsten Hopp 6ff122
  
Karsten Hopp 6ff122
      static int
Karsten Hopp 6ff122
***************
Karsten Hopp 6ff122
*** 1548,1554 ****
Karsten Hopp 6ff122
  	abort = set_ref_in_item(&tv, copyID, NULL, NULL);
Karsten Hopp 6ff122
      }
Karsten Hopp 6ff122
      lua_pushinteger(L, abort);
Karsten Hopp 6ff122
!     return 0;
Karsten Hopp 6ff122
  }
Karsten Hopp 6ff122
  
Karsten Hopp 6ff122
      static int
Karsten Hopp 6ff122
--- 1548,1554 ----
Karsten Hopp 6ff122
  	abort = set_ref_in_item(&tv, copyID, NULL, NULL);
Karsten Hopp 6ff122
      }
Karsten Hopp 6ff122
      lua_pushinteger(L, abort);
Karsten Hopp 6ff122
!     return 1;
Karsten Hopp 6ff122
  }
Karsten Hopp 6ff122
  
Karsten Hopp 6ff122
      static int
Karsten Hopp 6ff122
*** ../vim-7.4.620/src/version.c	2015-02-04 23:06:39.453536117 +0100
Karsten Hopp 6ff122
--- src/version.c	2015-02-04 23:07:28.484882812 +0100
Karsten Hopp 6ff122
***************
Karsten Hopp 6ff122
*** 743,744 ****
Karsten Hopp 6ff122
--- 743,746 ----
Karsten Hopp 6ff122
  {   /* Add new patch number below this line */
Karsten Hopp 6ff122
+ /**/
Karsten Hopp 6ff122
+     621,
Karsten Hopp 6ff122
  /**/
Karsten Hopp 6ff122
Karsten Hopp 6ff122
-- 
Karsten Hopp 6ff122
hundred-and-one symptoms of being an internet addict:
Karsten Hopp 6ff122
178. You look for an icon to double-click to open your bedroom window.
Karsten Hopp 6ff122
Karsten Hopp 6ff122
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp 6ff122
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp 6ff122
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
Karsten Hopp 6ff122
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///