aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authordaurnimator <quae@daurnimator.com>2018-01-30 00:50:14 +1100
committerdaurnimator <quae@daurnimator.com>2018-01-30 00:50:14 +1100
commitc566658e3ba9279aa20dd63fd7718357e857133b (patch)
tree1edcd9889a2fe4f24eee16c6dc3a9cc4a72a43af /src
parent59a08453054698e55a9233b1fd5da998430fc2ed (diff)
downloadfengari-c566658e3ba9279aa20dd63fd7718357e857133b.tar.gz
fengari-c566658e3ba9279aa20dd63fd7718357e857133b.tar.bz2
fengari-c566658e3ba9279aa20dd63fd7718357e857133b.zip
src/loadlib.js: Don't reuse CLIBS string due to it getting used as lightuserdata key
Diffstat (limited to 'src')
-rw-r--r--src/loadlib.js2
1 files changed, 1 insertions, 1 deletions
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";