[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: LUA_LDIR definition in luaconf.h (bug?)
- From: roberto@... (Roberto Ierusalimschy)
- Date: Fri, 14 Sep 2007 20:44:02 -0300
> Shouldn't that be:
> #define LUA_LDIR LUA_EXECDIR"\\lua\\"
> #define LUA_CDIR LUA_EXECDIR"\\"
Actually it should be this:
#define LUA_LDIR LUA_EXECDIR LUA_DIRSEP "lua" LUA_DIRSEP
and LUA_LDIR"?\\init.lua;" should be this:
LUA_LDIR LUA_PATH_MARK LUA_DIRSEP "init.lua" LUA_PATHSEP
It seems to much bureaucracy for something that will seldom change (the
file says "Probably you do not need to change them."). I think the gain
in clarity for the common case more than compensate the work to change
them by hand when needed.
-- Roberto