Corecting the lfs.setmode signature

This commit is contained in:
carregal
2008-02-14 18:26:19 +00:00
parent 80027817c3
commit 8f943857e8

View File

@@ -205,7 +205,7 @@ LuaFileSystem offers the following functions:
Returns <code>true</code> if the operation was successful;
in case of error, it returns <code>nil</code> plus an error string.</dd>
<dt><a name="setmode"></a><strong><code>lfs.setmode (filepath, mode)</code></strong></dt>
<dt><a name="setmode"></a><strong><code>lfs.setmode (file, mode)</code></strong></dt>
<dd>Sets the writing mode for a file. The mode string can be either <code>binary</code> or <code>text</code>.
Returns the previous mode string for the file. This function is only available in Windows, so you may want to make sure that
<code>lfs.setmode</code> exists before using it.
@@ -248,7 +248,7 @@ LuaFileSystem offers the following functions:
<div id="about">
<p><a href="http://validator.w3.org/check?uri=referer">Valid XHTML 1.0!</a></p>
<p><small>$Id: manual.html,v 1.40 2008/02/11 22:48:16 carregal Exp $</small></p>
<p><small>$Id: manual.html,v 1.41 2008/02/14 18:26:19 carregal Exp $</small></p>
</div> <!-- id="about" -->
</div> <!-- id="container" -->