lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On Wed, Apr 22, 2015 at 10:23 PM, basiliscos@openmailbox.org <basiliscos@openmailbox.org> wrote:
  records_read = fread(script, script_stat.st_size, 1, script_file);
  <skipped>
  if (luaL_loadstring(L, script)) {

luaL_loadstring() expects zero-terminated string.