Loading modules/lua/mod_lua.c +4 −0 Changes for modules/lua/mod_lua.c: 4 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -1072,7 +1072,11 @@ static const char *register_named_block_function_hook(const char *name, else { luaL_Buffer b; luaL_buffinit(lvm, &b); #if LUA_VERSION_NUM >= 503 lua_dump(lvm, ldump_writer, &b, 0); #else lua_dump(lvm, ldump_writer, &b); #endif luaL_pushresult(&b); spec->bytecode_len = lua_strlen(lvm, -1); spec->bytecode = apr_pstrmemdup(cmd->pool, lua_tostring(lvm, -1), Loading Loading
modules/lua/mod_lua.c +4 −0 Changes for modules/lua/mod_lua.c: 4 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -1072,7 +1072,11 @@ static const char *register_named_block_function_hook(const char *name, else { luaL_Buffer b; luaL_buffinit(lvm, &b); #if LUA_VERSION_NUM >= 503 lua_dump(lvm, ldump_writer, &b, 0); #else lua_dump(lvm, ldump_writer, &b); #endif luaL_pushresult(&b); spec->bytecode_len = lua_strlen(lvm, -1); spec->bytecode = apr_pstrmemdup(cmd->pool, lua_tostring(lvm, -1), Loading