mirror of
https://github.com/lunarmodules/luafilesystem.git
synced 2026-07-23 11:33:05 +00:00
Adding support for compilation on both Lua 5.0 and Lua 5.1
This commit is contained in:
@@ -66,17 +66,11 @@ systems offered by the standard Lua distribution.</p>
|
||||
the underlying directory structure and file attributes.</p>
|
||||
|
||||
<p>LuaFileSystem is free software and uses the same
|
||||
<a href="license.html">license</a> as Lua 5.0.</p>
|
||||
<a href="license.html">license</a> as Lua 5.1.</p>
|
||||
|
||||
<h2><a name="status"></a>Status</h2>
|
||||
|
||||
<p>Current version is 1.2 It was developed for Lua 5.0.</p>
|
||||
|
||||
<p>Version 1.2 follows the
|
||||
<a href="http://www.keplerproject.org/compat">package model</a>
|
||||
for Lua 5.1 (see section <a href="manual.html#installation">Installation</a>
|
||||
for more details).</p>
|
||||
|
||||
<p>Current version is 1.2.1. It was developed for both Lua 5.0 and Lua 5.1.</p>
|
||||
|
||||
<h2><a name="download"></a>Download</h2>
|
||||
|
||||
@@ -91,6 +85,13 @@ LuaForge page.</p>
|
||||
<h2><a name="history"></a>History</h2>
|
||||
|
||||
<dl class="history">
|
||||
<dt><strong>Version 1.2.1</strong> [?/Jun/2006]</dt>
|
||||
<dd>
|
||||
<ul>
|
||||
<li>adapted to work on both Lua 5.0 and Lua 5.1</li>
|
||||
</ul>
|
||||
</dd>
|
||||
|
||||
<dt><strong>Version 1.2</strong> [15/Mar/2006]</dt>
|
||||
<dd>
|
||||
<ul>
|
||||
@@ -139,7 +140,7 @@ Comments are welcome!</p>
|
||||
<div id="about">
|
||||
<p><a href="http://validator.w3.org/check?uri=referer">
|
||||
<img src="http://www.w3.org/Icons/valid-xhtml10" alt="Valid XHTML 1.0!" height="31" width="88" /></a></p>
|
||||
<p><small>$Id: index.html,v 1.31 2006/03/23 20:44:00 carregal Exp $</small></p>
|
||||
<p><small>$Id: index.html,v 1.32 2006/06/08 17:55:33 tomas Exp $</small></p>
|
||||
</div> <!-- id="about" -->
|
||||
|
||||
</div> <!-- id="container" -->
|
||||
|
||||
@@ -65,14 +65,8 @@ the underlying directory structure and file attributes.</p>
|
||||
|
||||
<h2><a name="installation"></a>Installation</h2>
|
||||
|
||||
<p>LuaFileSystem follows the
|
||||
<a href="http://www.keplerproject.org/compat/">package model</a>
|
||||
for Lua 5.1, therefore it should be "installed". Refer to
|
||||
<a href="http://www.keplerproject.org/compat/manual.html#configuration">
|
||||
Compat-5.1 configuration</a> section about how to install the compiled
|
||||
binary properly.
|
||||
The compiled binary should be copied to a directory in your
|
||||
<code>LUA_CPATH</code>.</p>
|
||||
<p>The LuaFileSystem compiled binary should be copied to a directory in your
|
||||
<code><a href="http://www.lua.org/manual/5.1/manual.html#pdf-package.cpath">LUA_CPATH</a></code>. Lua 5.0 users should install <a href="http://www.keplerproject.org/compat">Compat-5.1</a> also.</p>
|
||||
|
||||
<p>Windows users can use the binary version of LuaFileSystem
|
||||
(<code>lfs.dll</code>) available at
|
||||
@@ -96,7 +90,7 @@ LuaFileSystem offers the following functions:
|
||||
The attributes are described as follows;
|
||||
attribute <code>mode</code> is a string, all the others are numbers,
|
||||
and the time related attributes use the same time reference of
|
||||
<a href="http://www.lua.org/manual/5.0/manual.html#5.7"><code>os.time</code></a>:
|
||||
<a href="http://www.lua.org/manual/5.1/manual.html#pdf-os.time"><code>os.time</code></a>:
|
||||
<dl>
|
||||
<dt><strong><code>dev</code></strong></dt>
|
||||
<dd>on Unix systems, this represents the device that the inode resides on. On Windows systems,
|
||||
@@ -217,7 +211,7 @@ LuaFileSystem offers the following functions:
|
||||
<div id="about">
|
||||
<p><a href="http://validator.w3.org/check?uri=referer">
|
||||
<img src="http://www.w3.org/Icons/valid-xhtml10" alt="Valid XHTML 1.0!" height="31" width="88" /></a></p>
|
||||
<p><small>$Id: manual.html,v 1.31 2006/03/15 20:29:15 carregal Exp $</small></p>
|
||||
<p><small>$Id: manual.html,v 1.32 2006/06/08 17:55:33 tomas Exp $</small></p>
|
||||
</div> <!-- id="about" -->
|
||||
|
||||
</div> <!-- id="container" -->
|
||||
|
||||
Reference in New Issue
Block a user