Adding support for compilation on both Lua 5.0 and Lua 5.1

This commit is contained in:
tomas
2006-06-08 17:55:33 +00:00
parent b6c8c13942
commit df2efb797c
2 changed files with 14 additions and 19 deletions

View File

@@ -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" -->