From c566658e3ba9279aa20dd63fd7718357e857133b Mon Sep 17 00:00:00 2001 From: daurnimator Date: Tue, 30 Jan 2018 00:50:14 +1100 Subject: src/loadlib.js: Don't reuse CLIBS string due to it getting used as lightuserdata key --- src/loadlib.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/loadlib.js b/src/loadlib.js index 83335da..99540e4 100644 --- a/src/loadlib.js +++ b/src/loadlib.js @@ -87,7 +87,7 @@ const global_env = (function() { } })(); -const CLIBS = to_luastring("__CLIBS__", true); +const CLIBS = to_luastring("__CLIBS__"); const LUA_PATH_VAR = "LUA_PATH"; const LUA_CPATH_VAR = "LUA_CPATH"; -- cgit v1.2.3-70-g09d2