RFS missing in default module loading path on non-Windows builds

classic Classic list List threaded Threaded
1 message Options
Markus Korber Markus Korber
Reply | Threaded
Open this post in threaded view
|

RFS missing in default module loading path on non-Windows builds

Hi,

LUA_PATH_DEFAULT contains /rfs/ only in '#if defined(_WIN32)'.

diff -r 6f4ddb97b84c src/lua/luaconf.h
--- a/src/lua/luaconf.h Thu Feb 02 08:40:26 2012 +0100
+++ b/src/lua/luaconf.h Mon Feb 06 11:49:49 2012 +0100
@@ -144,7 +144,7 @@
 #define LUA_CDIR LUA_ROOT "lib/lua/5.1/"
 
 #ifndef LUA_RPC
-#define LUA_PATH_DEFAULT  "/mmc/?.lua;/mmc/?.lc;/rom/?.lua;/rom/?.lc"
+#define LUA_PATH_DEFAULT  "/rfs/?.lua;/rfs/?.lc;/mmc/?.lua;/mmc/?.lc;/rom/?.lua;/rom/?.lc"
 #define LUA_CPATH_DEFAULT ""
 #else // #ifndef LUA_RPC
 #define LUA_PATH_DEFAULT  \

Regards,
Markus Korber
_______________________________________________
eLua-dev mailing list
[hidden email]
https://lists.berlios.de/mailman/listinfo/elua-dev