]> git.ipfire.org Git - thirdparty/gnulib.git/commitdiff
file-has-acl: Fix comments.
authorBruno Haible <bruno@clisp.org>
Mon, 7 Oct 2024 11:52:59 +0000 (13:52 +0200)
committerBruno Haible <bruno@clisp.org>
Mon, 7 Oct 2024 11:52:59 +0000 (13:52 +0200)
* lib/file-has-acl.c (file_has_aclinfo): Fix typo in comment.

ChangeLog
lib/file-has-acl.c

index a58901906166174d8eb9c6d6967a436be86819d8..2f083303cf9c385ab4a42b8868dc8827e03bfe55 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2024-10-07  Bruno Haible  <bruno@clisp.org>
+
+       file-has-acl: Fix comments.
+       * lib/file-has-acl.c (file_has_aclinfo): Fix typo in comment.
+
 2024-10-06  Bruno Haible  <bruno@clisp.org>
 
        javacomp, javaversion: Fix resource leak.
index 9f4213702fb99110777f5082e255c5793b014ec8..1fc54a76875f4a4cb56f6ec03ae66fce8f66af34 100644 (file)
@@ -328,9 +328,9 @@ acl_nfs4_nontrivial (uint32_t *xattr, ssize_t nbytes)
    if ACLs are not supported as errno is set in that case also.
    Set *AI to ACL info regardless of return value.
    FLAGS should be a <dirent.h> d_type value, optionally ORed with
-   AT_SYMLINK_FOLLOW; if the d_type value is not known,
+   ACL_SYMLINK_FOLLOW; if the d_type value is not known,
    use DT_UNKNOWN though this may be less efficient.
-   If FLAGS & AT_SYMLINK_FOLLOW, follow symlinks when retrieving ACL info;
+   If FLAGS & ACL_SYMLINK_FOLLOW, follow symlinks when retrieving ACL info;
    otherwise do not follow them if possible.  */
 int
 file_has_aclinfo (MAYBE_UNUSED char const *restrict name,