Mercurial > hg > octave-kai > gnulib-hg
changeset 15814:625d9f3201d8
acl: Fix specification.
* lib/file-has-acl.c (file_has_acl): Fix specification.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Mon, 03 Oct 2011 15:48:57 +0200 |
parents | c8a01782d9d8 |
children | 22c19cdc7906 |
files | ChangeLog lib/file-has-acl.c |
diffstat | 2 files changed, 7 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2011-10-03 Bruno Haible <bruno@clisp.org> + + acl: Fix specification. + * lib/file-has-acl.c (file_has_acl): Fix specification. + 2011-10-03 Bruno Haible <bruno@clisp.org> relocatable-lib[-lgpl]: Avoid expensive /proc access on Linux, Cygwin.
--- a/lib/file-has-acl.c +++ b/lib/file-has-acl.c @@ -439,7 +439,8 @@ /* Return 1 if NAME has a nontrivial access control list, 0 if NAME only has no or a base access control list, and -1 (setting errno) - on error. SB must be set to the stat buffer of FILE. */ + on error. SB must be set to the stat buffer of NAME, obtained + through stat() or lstat(). */ int file_has_acl (char const *name, struct stat const *sb)