diff --git a/source/texk/web2c/luatexdir/lua/luainit.w b/source/texk/web2c/luatexdir/lua/luainit.w index cbad0f0871ac46c4e926a9cdd12dea099079a3c4..075143391baa20edc4c5073f500c0338d8890aa5 100644 --- a/source/texk/web2c/luatexdir/lua/luainit.w +++ b/source/texk/web2c/luatexdir/lua/luainit.w @@ -965,7 +965,6 @@ void lua_initialize(int ac, char **av) } /* make sure that the locale is 'sane' (for lua) */ - putenv(LC_CTYPE_C); putenv(LC_COLLATE_C); putenv(LC_NUMERIC_C); diff --git a/source/texk/web2c/luatexdir/lua/luastuff.w b/source/texk/web2c/luatexdir/lua/luastuff.w index 914730375fe89e9f6504482819dafb5c99b75664..6dc70d54ca2e248ac20671d1ef63f432af3d57c6 100644 --- a/source/texk/web2c/luatexdir/lua/luastuff.w +++ b/source/texk/web2c/luatexdir/lua/luastuff.w @@ -112,7 +112,7 @@ void luafunctioncall(int slot) @ @c static const luaL_Reg lualibs[] = { - {"", luaopen_base}, + {"_G", luaopen_base}, {"package", luaopen_package}, {"coroutine", luaopen_coroutine}, {"table", luaopen_table},