From: Bruno Haible Date: Mon, 7 Oct 2024 11:52:59 +0000 (+0200) Subject: file-has-acl: Fix comments. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fda640572909c9416cbfe76c385a4d48281561ca;p=thirdparty%2Fgnulib.git file-has-acl: Fix comments. * lib/file-has-acl.c (file_has_aclinfo): Fix typo in comment. --- 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,