lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On Thu, Jul 15, 2010 at 10:02 AM, Valerio Schiavoni
<valerio.schiavoni@gmail.com> wrote:
> i'm trying to remove some unix-only code from a library to be possible
> to run it on windows as well.

Looking at that code, it commits the old sin of embedding
platform-specific stuff.  It's actually possible to write portable (at
least Windows/POSIX) file system code that doesn't use lfs.  Have a
look at how LuaRocks does it - the fs folder has various driver
modules,

steve d.