[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Proposal: Virtualization of Filesystem Operations for Lua 5.2.
- From: Patrick Rapin <toupie300@...>
- Date: Thu, 3 Nov 2011 09:26:59 +0100
> You need to modify Lua sources to do that? Just add an entry to
> package.loaders to scan a ZIP file for modules.
You are right. The fact is that I was not aware of the package.loaders
feature at the time I needed the special loading.
Anyway, let's take another example.
I currently would like to pass UTF-8 encoded path names on Windows.
That concerns at least loadfile, dofile, require, os.execute,
os.rename, os.remove, os.tmpname, io.open, io.input, io.output,
io.lines and io.popen.
What would be the best solution on current Lua ? Is it to rewrite all
Probably could it be much easier if there is a well designed common