]> Savannah Git Hosting - gnulib.git/commit
file-has-acl: Fix compilation errors on macOS et al. (regr. 2024-11-09).
authorBruno Haible <bruno@clisp.org>
Mon, 11 Nov 2024 06:25:00 +0000 (07:25 +0100)
committerBruno Haible <bruno@clisp.org>
Mon, 11 Nov 2024 06:25:00 +0000 (07:25 +0100)
commitc56c270c03eede5a3342e323f0469d5fdbc09cf0
tree0df869eff1b55d39daa8be223e664107d3b3b11d
parent2d1edb0bd8035200d09ba4bd6d0161f37e0ee1f4
file-has-acl: Fix compilation errors on macOS et al. (regr. 2024-11-09).

* m4/acl.m4 (gl_FUNC_ACL): Test whether acl_get_link_np exists.
* lib/file-has-acl.c (file_has_aclinfo): Use ACL_SYMLINK_FOLLOW, not
AC_SYMLINK_FOLLOW. Don't use acl_get_link_np if this function does not
exist.
ChangeLog
lib/file-has-acl.c
m4/acl.m4