1
0

101-adjust-script-size.patch 445 B

1234567891011
  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. /* and load our haserl library */
  5. if (luaL_loadbuffer
  6. - (lua_vm, (const char *) &haserl_lualib, sizeof (haserl_lualib),
  7. + (lua_vm, (const char *) haserl_lualib, sizeof(haserl_lualib)-1,
  8. "luascript.lua") || lua_pcall (lua_vm, 0, 0, 0))
  9. {
  10. die_with_message (NULL, NULL,