[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Small change to luaconf.h
- From: Frank Meier-Dörnberg <frank@...>
- Date: Sat, 06 Aug 2011 09:28:17 +0200
Am 06.08.2011 06:22, schrieb Brian Maher:
 Set the LUA_ROOT global variable to dirname(dirname(argv)) in
pmain() of lua.c
 Modify setpath() in loadlib.c so it replaces the special "..."
token with the LUA_ROOT global variable and if that fails, fall-back
to the LUA_ROOT compile time define.
I'm not sure about the semantic yet, but should that not handled similar
to what is done for windows in (Lua 5.1) luaconf.h?
** In Windows, any exclamation mark ('!') in the path is replaced by the
** path of the directory of the executable file of the current process.
i.e.: "!" instead of "...", correct?
Please excuse my question (I'm a windows user), why these thing is
solved differently at all?