From fda640572909c9416cbfe76c385a4d48281561ca Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Mon, 7 Oct 2024 13:52:59 +0200 Subject: [PATCH] file-has-acl: Fix comments. * lib/file-has-acl.c (file_has_aclinfo): Fix typo in comment. --- ChangeLog | 5 +++++ lib/file-has-acl.c | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index a589019061..2f083303cf 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2024-10-07 Bruno Haible + + file-has-acl: Fix comments. + * lib/file-has-acl.c (file_has_aclinfo): Fix typo in comment. + 2024-10-06 Bruno Haible javacomp, javaversion: Fix resource leak. diff --git a/lib/file-has-acl.c b/lib/file-has-acl.c index 9f4213702f..1fc54a7687 100644 --- a/lib/file-has-acl.c +++ b/lib/file-has-acl.c @@ -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 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, -- 2.39.5