Document qset_acl return value precisely.
authorBruno Haible <bruno@clisp.org>
Mon, 2 Jun 2008 22:07:15 +0000 (00:07 +0200)
committerBruno Haible <bruno@clisp.org>
Mon, 2 Jun 2008 22:07:15 +0000 (00:07 +0200)
ChangeLog
lib/set-mode-acl.c

index 6fbc18da528e6b5922aaec28012aa5d748df50cc..e5b706745173d48ec1db39d69ebec071342fca4c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -14,6 +14,7 @@
        * lib/copy-acl.c (qcopy_acl): New function, extracted from copy_acl.
        (copy_acl): Just a wrapper around qcopy_acl that emits the error
        messages.
+       * lib/set-mode-acl.c (qset_acl): Document return value precisely.
 
 2008-06-01  Bruno Haible  <bruno@clisp.org>
 
index 2aaa0e6fcb2cc5ea069a0d48ca1d07d403fdbd4b..79d3c57088c195eda9b65076ff5375b980876e31 100644 (file)
@@ -42,8 +42,8 @@ chmod_or_fchmod (const char *name, int desc, mode_t mode)
    filename based operations on NAME.  If access control lists are not
    available, fchmod the target file to MODE.  Also sets the
    non-permission bits of the destination file (S_ISUID, S_ISGID, S_ISVTX)
-   to those from MODE if any are set.  System call return value
-   semantics.  */
+   to those from MODE if any are set.
+   Return 0 if successful.  Return -1 and set errno upon failure.  */
 
 int
 qset_acl (char const *name, int desc, mode_t mode)