[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: [ANN] Lua 5.2.0 (rc6) now available
- From: Florian Weimer <fw@...>
- Date: Thu, 08 Dec 2011 21:23:20 +0100
* Daurnimator:
> Lua files are searched for before C modules (ie, iterates over
> package.path before package.cpath)
If you've got an application which uses lpeg, and you run it on a file
in a directory which happens to contain a lpeg.lua file, that file is
executed as a Lua script. Some people consider this a problem.
Due to the distinction between package.path and package.cpath, this is
not entirely straightforward to address, unfortunately, otherwise I'd
have fixed it for the Lua 5.1 builds I have some influence over.