From d586cbff12b4814bf4d397b01faad61944428e75 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Mon, 3 Oct 2011 15:48:57 +0200 Subject: [PATCH] acl: Fix specification. * lib/file-has-acl.c (file_has_acl): Fix specification. --- ChangeLog | 5 +++++ lib/file-has-acl.c | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 1355eb978..a12450ef3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,10 @@ 2011-10-03 Bruno Haible + acl: Fix specification. + * lib/file-has-acl.c (file_has_acl): Fix specification. + +2011-10-03 Bruno Haible + relocatable-lib[-lgpl]: Avoid expensive /proc access on Linux, Cygwin. * lib/relocatable.c (ENABLE_COSTLY_RELOCATABLE): New macro. (compute_curr_prefix, shared_library_fullname, diff --git a/lib/file-has-acl.c b/lib/file-has-acl.c index 1b7e392a3..9a5e249c2 100644 --- a/lib/file-has-acl.c +++ b/lib/file-has-acl.c @@ -439,7 +439,8 @@ acl_nontrivial (int count, struct acl *entries) /* 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) -- 2.11.0