|
Karsten Hopp |
53ef4e |
To: vim_dev@googlegroups.com
|
|
Karsten Hopp |
53ef4e |
Subject: Patch 7.3.370
|
|
Karsten Hopp |
53ef4e |
Fcc: outbox
|
|
Karsten Hopp |
53ef4e |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
53ef4e |
Mime-Version: 1.0
|
|
Karsten Hopp |
53ef4e |
Content-Type: text/plain; charset=UTF-8
|
|
Karsten Hopp |
53ef4e |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
53ef4e |
------------
|
|
Karsten Hopp |
53ef4e |
|
|
Karsten Hopp |
53ef4e |
Patch 7.3.370
|
|
Karsten Hopp |
53ef4e |
Problem: Compiler warns for unused variable in Lua interface.
|
|
Karsten Hopp |
53ef4e |
Solution: Remove the variable.
|
|
Karsten Hopp |
53ef4e |
Files: src/if_lua.c
|
|
Karsten Hopp |
53ef4e |
|
|
Karsten Hopp |
53ef4e |
|
|
Karsten Hopp |
53ef4e |
*** ../vim-7.3.369/src/if_lua.c 2011-09-21 17:15:34.000000000 +0200
|
|
Karsten Hopp |
53ef4e |
--- src/if_lua.c 2011-12-01 20:19:17.000000000 +0100
|
|
Karsten Hopp |
53ef4e |
***************
|
|
Karsten Hopp |
53ef4e |
*** 1044,1056 ****
|
|
Karsten Hopp |
53ef4e |
static int
|
|
Karsten Hopp |
53ef4e |
luaV_open(lua_State *L)
|
|
Karsten Hopp |
53ef4e |
{
|
|
Karsten Hopp |
53ef4e |
- luaV_Buffer *b;
|
|
Karsten Hopp |
53ef4e |
char_u *s = NULL;
|
|
Karsten Hopp |
53ef4e |
#ifdef HAVE_SANDBOX
|
|
Karsten Hopp |
53ef4e |
luaV_checksandbox(L);
|
|
Karsten Hopp |
53ef4e |
#endif
|
|
Karsten Hopp |
53ef4e |
if (lua_isstring(L, 1)) s = (char_u *) lua_tostring(L, 1);
|
|
Karsten Hopp |
53ef4e |
! b = luaV_pushbuffer(L, buflist_new(s, NULL, 1L, BLN_LISTED));
|
|
Karsten Hopp |
53ef4e |
return 1;
|
|
Karsten Hopp |
53ef4e |
}
|
|
Karsten Hopp |
53ef4e |
|
|
Karsten Hopp |
53ef4e |
--- 1044,1055 ----
|
|
Karsten Hopp |
53ef4e |
static int
|
|
Karsten Hopp |
53ef4e |
luaV_open(lua_State *L)
|
|
Karsten Hopp |
53ef4e |
{
|
|
Karsten Hopp |
53ef4e |
char_u *s = NULL;
|
|
Karsten Hopp |
53ef4e |
#ifdef HAVE_SANDBOX
|
|
Karsten Hopp |
53ef4e |
luaV_checksandbox(L);
|
|
Karsten Hopp |
53ef4e |
#endif
|
|
Karsten Hopp |
53ef4e |
if (lua_isstring(L, 1)) s = (char_u *) lua_tostring(L, 1);
|
|
Karsten Hopp |
53ef4e |
! luaV_pushbuffer(L, buflist_new(s, NULL, 1L, BLN_LISTED));
|
|
Karsten Hopp |
53ef4e |
return 1;
|
|
Karsten Hopp |
53ef4e |
}
|
|
Karsten Hopp |
53ef4e |
|
|
Karsten Hopp |
53ef4e |
*** ../vim-7.3.369/src/version.c 2011-12-08 15:57:54.000000000 +0100
|
|
Karsten Hopp |
53ef4e |
--- src/version.c 2011-12-08 15:59:35.000000000 +0100
|
|
Karsten Hopp |
53ef4e |
***************
|
|
Karsten Hopp |
53ef4e |
*** 716,717 ****
|
|
Karsten Hopp |
53ef4e |
--- 716,719 ----
|
|
Karsten Hopp |
53ef4e |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
53ef4e |
+ /**/
|
|
Karsten Hopp |
53ef4e |
+ 370,
|
|
Karsten Hopp |
53ef4e |
/**/
|
|
Karsten Hopp |
53ef4e |
|
|
Karsten Hopp |
53ef4e |
--
|
|
Karsten Hopp |
53ef4e |
Emacs is a nice OS - but it lacks a good text editor.
|
|
Karsten Hopp |
53ef4e |
That's why I am using Vim. --Anonymous
|
|
Karsten Hopp |
53ef4e |
|
|
Karsten Hopp |
53ef4e |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
53ef4e |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
53ef4e |
\\\ an exciting new programming language -- http://www.Zimbu.org ///
|
|
Karsten Hopp |
53ef4e |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|