]> Savannah Git Hosting - gnulib.git/commitdiff
acl: Fix specification.
authorBruno Haible <bruno@clisp.org>
Mon, 3 Oct 2011 13:48:57 +0000 (15:48 +0200)
committerBruno Haible <bruno@clisp.org>
Mon, 3 Oct 2011 13:48:57 +0000 (15:48 +0200)
* lib/file-has-acl.c (file_has_acl): Fix specification.

ChangeLog
lib/file-has-acl.c

index 1355eb978d3fa52b9a7895b1f1c9ea413bb0f81e..a12450ef3bb99d73e37d5461b5b1cd905c5c816c 100644 (file)
--- 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.
index 1b7e392a3fb5c8629d415578db3b69c730ea783f..9a5e249c21d33110166a5b4c093e88b81bf38646 100644 (file)
@@ -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)