Mercurial > hg > octave-lyh > gnulib-hg
changeset 10150:0c9f7838132c
Document qset_acl return value precisely.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Tue, 03 Jun 2008 00:07:15 +0200 |
parents | 2f94bd2a861d |
children | 437808f00003 |
files | ChangeLog lib/set-mode-acl.c |
diffstat | 2 files changed, 3 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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>
--- a/lib/set-mode-acl.c +++ b/lib/set-mode-acl.c @@ -42,8 +42,8 @@ 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)