[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

acl: fix specification comments

From: Bruno Haible
Subject: acl: fix specification comments
Date: Mon, 3 Oct 2011 15:51:16 +0200
User-agent: KMail/1.13.6 (Linux/; KDE/4.6.0; x86_64; ; )

I found out how file_has_acl is meant to be called by looking at the coreutils
source code.

2011-10-03  Bruno Haible  <address@hidden>

        acl: Fix specification.
        * lib/file-has-acl.c (file_has_acl): Fix specification.

--- lib/file-has-acl.c.orig     Mon Oct  3 15:47:44 2011
+++ lib/file-has-acl.c  Mon Oct  3 15:47:12 2011
@@ -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().  */
 file_has_acl (char const *name, struct stat const *sb)

reply via email to

[Prev in Thread] Current Thread [Next in Thread]