From 361cede4d08073183d3546a78763e7b62d6be9ef Mon Sep 17 00:00:00 2001 From: Reuben Thomas Date: Thu, 9 Jun 2011 14:23:44 +0100 Subject: Add trivial implementation of setmode on non-Windows platforms. --- doc/us/manual.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'doc') diff --git a/doc/us/manual.html b/doc/us/manual.html index a5843ed..48a8e5b 100644 --- a/doc/us/manual.html +++ b/doc/us/manual.html @@ -221,8 +221,8 @@ LuaFileSystem offers the following functions:
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. This function is only available in Windows, so you may want to make sure that - lfs.setmode exists before using it. + Returns the previous mode string for the file. On non-Windows platforms, where the two modes are identical, + setting the mode has no effect, and the mode is always returned as binary.
lfs.symlinkattributes (filepath [, aname])
-- cgit v1.2.3-55-g6feb