On 04/28/2015 04:45 AM, Andreas Grünbacher wrote:
I would rather have gnulib define XATTR_NAME_POSIX_ACL_ACCESS and
XATTR_NAME_POSIX_ACL_DEFAULT when the kernel headers don't provide
them:
I don't know the Linux kernel that well, but if it sounds good to you....
Function gl_FILE_HAS_ACL depends on gl_FUNC_ACL to be called
afterwards, and gl_FUNC_ACL does get called through the gnulib module
dependencies. Now why is LIB_HAS_ACL being set in both functions?
I worried that gl_FILE_HAS_ACL might be invoked either before, or after,
gl_FUNC_ACL. Your message is confusing, because the first part of it
implies the former, and the middle part implies the latter. If we know
one of the two alternatives is impossible, then yes we can simplify the
code accordingly.