I had misinterpreted the private email from Ashish Shukla.
* src/fileio.c (Ffile_acl): Fix typo in previous change
by negating the call to acl_errno_valid.
acl_t acl = acl_get_file (SSDATA (ENCODE_FILE (absname)), ACL_TYPE_EXTENDED);
if (acl == NULL)
{
- if (errno == ENOENT || errno == ENOTDIR || acl_errno_valid (errno))
+ if (errno == ENOENT || errno == ENOTDIR || !acl_errno_valid (errno))
return Qnil;
report_file_error ("Getting ACLs", absname);
}