Skip to content
Snippets Groups Projects
Commit 6faa59d4 authored by dg's avatar dg
Browse files

Disabled loading C module in Lua, for safety

git-svn-id: http://svn.net-core.org/repos/t-engine4@4273 51575b47-30f0-44d4-a5cc-537603b46e54
parent 9f49267c
No related branches found
No related tags found
No related merge requests found
......@@ -639,7 +639,7 @@ static const luaL_Reg ll_funcs[] = {
static const lua_CFunction loaders[] =
{loader_preload, loader_Physfs, loader_C, loader_Croot, NULL};
{loader_preload, loader_Physfs, NULL};
LUALIB_API int luaopen_package (lua_State *L) {
......
......@@ -641,7 +641,7 @@ static const luaL_Reg ll_funcs[] = {
static const lua_CFunction loaders[] =
{loader_preload, loader_Physfs, loader_C, loader_Croot, NULL};
{loader_preload, loader_Physfs, NULL};
LUALIB_API int luaopen_package (lua_State *L) {
......
......@@ -491,8 +491,6 @@ static const lua_CFunction package_loaders[] =
{
lj_cf_package_loader_preload,
lj_cf_package_loader_lua,
lj_cf_package_loader_c,
lj_cf_package_loader_croot,
NULL
};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment