diff --git a/examples.html b/examples.html index c50f685..2c1644c 100644 --- a/examples.html +++ b/examples.html @@ -3,7 +3,7 @@ LuaFileSystem - + diff --git a/index.html b/index.html index eea9a23..5c05085 100644 --- a/index.html +++ b/index.html @@ -3,7 +3,7 @@ LuaFileSystem - + @@ -141,7 +141,7 @@ page.

-
Version 1.3.0 [26/Oct/2007]
+
Version 1.3.0 [26/Oct/2007]
-
Version 1.2.1 [08/May/2007]
+
Version 1.2.1 [08/May/2007]
-
Version 1.2 [15/Mar/2006]
+
Version 1.2 [15/Mar/2006]
-
Version 1.1 [30/May/2005]
+
Version 1.1 [30/May/2005]
-
Version 1.0 [21/Jan/2005]
+
Version 1.0 [21/Jan/2005]
Version 1.0 Beta [10/Nov/2004]
diff --git a/license.html b/license.html index b9f1c6a..3003381 100644 --- a/license.html +++ b/license.html @@ -3,7 +3,7 @@ LuaFileSystem - + diff --git a/manual.html b/manual.html index aca0d4e..33c1cbe 100644 --- a/manual.html +++ b/manual.html @@ -3,7 +3,7 @@ LuaFileSystem - + @@ -227,8 +227,10 @@ LuaFileSystem offers the following functions: in case of error, it returns nil plus an error string.
lfs.setmode (file, mode)
-
Sets the writing mode for a file. The mode string can be either binary or text. - Returns the previous mode string for the file. On non-Windows platforms, where the two modes are identical, +
Sets the writing mode for a file. The mode string can be either "binary" or "text". + Returns true followed the previous mode string for the file, or + nil followed by an error string in case of errors. + On non-Windows platforms, where the two modes are identical, setting the mode has no effect, and the mode is always returned as binary.