Module Name:    src
Committed By:   lneto
Date:           Wed Feb  4 04:47:57 UTC 2015

Modified Files:
        src/external/mit/lua/dist/src: luaconf.h

Log Message:
lua: fixed LUA_ROOT, LUA_PATH_DEFAULT and LUA_CPATH_DEFAULT

* reverted from r1.8 (mbalmer)


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 src/external/mit/lua/dist/src/luaconf.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/mit/lua/dist/src/luaconf.h
diff -u src/external/mit/lua/dist/src/luaconf.h:1.11 src/external/mit/lua/dist/src/luaconf.h:1.12
--- src/external/mit/lua/dist/src/luaconf.h:1.11	Mon Feb  2 14:03:05 2015
+++ src/external/mit/lua/dist/src/luaconf.h	Wed Feb  4 04:47:57 2015
@@ -1,4 +1,4 @@
-/*	$NetBSD: luaconf.h,v 1.11 2015/02/02 14:03:05 lneto Exp $	*/
+/*	$NetBSD: luaconf.h,v 1.12 2015/02/04 04:47:57 lneto Exp $	*/
 
 /*
 ** Id: luaconf.h,v 1.238 2014/12/29 13:27:55 roberto Exp 
@@ -753,6 +753,18 @@
 #define LUA_MAXINTEGER		INTMAX_MAX
 #define LUA_MININTEGER		INTMAX_MIN
 
+/* Path */
+#undef LUA_ROOT
+#undef LUA_PATH_DEFAULT
+#undef LUA_CPATH_DEFAULT
+
+#define LUA_ROOT	"/usr/"
+#define LUA_PATH_DEFAULT  \
+		LUA_LDIR"?.lua;"  LUA_LDIR"?/init.lua;" \
+		LUA_CDIR"?.lua;"  LUA_CDIR"?/init.lua"
+#define LUA_CPATH_DEFAULT \
+		LUA_CDIR"?.so;" LUA_CDIR"loadall.so"
+
 #ifndef _KERNEL
 
 #include <stdint.h>

Reply via email to