101-adjust-script-size.patch (445B)
1 --- a/src/h_lua_common.c 2013-09-20 23:35:19.000000000 +0300 2 +++ b/src/h_lua_common.c 2014-05-03 19:27:43.000000000 +0300 3 @@ -79,7 +79,7 @@ 4 5 /* and load our haserl library */ 6 if (luaL_loadbuffer 7 - (lua_vm, (const char *) &haserl_lualib, sizeof (haserl_lualib), 8 + (lua_vm, (const char *) haserl_lualib, sizeof(haserl_lualib)-1, 9 "luascript.lua") || lua_pcall (lua_vm, 0, 0, 0)) 10 { 11 die_with_message (NULL, NULL,