From fbf2894a0ab3e4b28ead9e6140c57e43c6a86325 Mon Sep 17 00:00:00 2001 From: Hisham Muhammad Date: Fri, 15 Sep 2017 18:32:36 -0300 Subject: [PATCH] Update for 1.7.0 --- index.html | 8 ++++++++ license.html | 2 +- manual.html | 16 +++++++++------- 3 files changed, 18 insertions(+), 8 deletions(-) diff --git a/index.html b/index.html index 3ed43f2..f9777a5 100644 --- a/index.html +++ b/index.html @@ -81,6 +81,14 @@ page.

History

+
Version 1.7.0 [unreleased]
+
    +
  • symlinkattributes function now provides 'target' field, containing name of the file that the symlink points to.
  • +
  • attributes, symlinkattributes, touch, mkdir, and rmdir functions now return system-dependent error code as the third value on error.
  • +
  • Fixed detection of closed files for Lua 5.2+ in setmode, lock, and unlock functions.
  • +
  • Fixed various compiler warnings.
  • +
+
Version 1.6.3 [15/Jan/2015]
  • Lua 5.3 support.
  • diff --git a/license.html b/license.html index 5048c11..4f828cf 100644 --- a/license.html +++ b/license.html @@ -84,7 +84,7 @@ Ierusalimschy, André Carregal and Tomás Guisasola. The implementation is not derived from licensed software.


    -

    Copyright © 2003 Kepler Project.

    +

    Copyright © 2003 - 2017 Kepler Project.

    Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation diff --git a/manual.html b/manual.html index f5fbaf6..3555e3d 100644 --- a/manual.html +++ b/manual.html @@ -104,7 +104,7 @@ LuaFileSystem offers the following functions:

    lfs.attributes (filepath [, aname | atable])
    Returns a table with the file attributes corresponding to - filepath (or nil followed by an error message + filepath (or nil followed by an error message and a system-dependent error code in case of error). If the second optional argument is given and is a string, then only the value of the named attribute is returned (this use is equivalent to @@ -222,14 +222,14 @@ LuaFileSystem offers the following functions:
    lfs.mkdir (dirname)
    Creates a new directory. The argument is the name of the new directory.
    - Returns true if the operation was successful; - in case of error, it returns nil plus an error string. + Returns true in case of success or nil, an error message and + a system-dependent error code in case of error.
    lfs.rmdir (dirname)
    Removes an existing directory. The argument is the name of the directory.
    - Returns true if the operation was successful; - in case of error, it returns nil plus an error string.
    + Returns true in case of success or nil, an error message and + a system-dependent error code in case of error.
    lfs.setmode (file, mode)
    Sets the writing mode for a file. The mode string can be either "binary" or "text". @@ -242,6 +242,8 @@ LuaFileSystem offers the following functions:
    lfs.symlinkattributes (filepath [, aname])
    Identical to lfs.attributes except that it obtains information about the link itself (not the file it refers to). + It also adds a target field, containing + the file name that the symlink points to. On Windows this function does not yet support links, and is identical to lfs.attributes.
    @@ -255,8 +257,8 @@ LuaFileSystem offers the following functions: Lua standard function os.time). If the modification time is omitted, the access time provided is used; if both times are omitted, the current time is used.
    - Returns true if the operation was successful; - in case of error, it returns nil plus an error string. + Returns true in case of success or nil, an error message and + a system-dependent error code in case of error.
lfs.unlock (filehandle[, start[, length]])