mirror of
https://github.com/termux-pacman/termux-packages.git
synced 2026-01-11 21:33:45 +00:00
Features enabled in luaconf.h: - PLUTO_USE_COLORED_OUTPUT // To enable colored output on warning and error. - PLUTO_FORCE_JUMPTABLE // Enable force jumptable, improve performance.
14 lines
349 B
Diff
14 lines
349 B
Diff
diff --git a/src/loslib.cpp b/src/loslib.cpp
|
|
index e496940..3e4cb3d 100644
|
|
--- a/src/loslib.cpp
|
|
+++ b/src/loslib.cpp
|
|
@@ -112,7 +112,7 @@
|
|
#define LUA_TMPNAMBUFSIZE 32
|
|
|
|
#if !defined(LUA_TMPNAMTEMPLATE)
|
|
-#define LUA_TMPNAMTEMPLATE "/tmp/lua_XXXXXX"
|
|
+#define LUA_TMPNAMTEMPLATE "@TERMUX_PREFIX@/tmp/lua_XXXXXX"
|
|
#endif
|
|
|
|
#define lua_tmpnam(b,e) { \
|