Bruno Haible <[EMAIL PROTECTED]> writes: > You can avoid a bit of code duplication through a change like this:
That fix assumes that acl_free preserves errno, but normally I wouldn't expect random library calls to preserve errno. <http://linux.die.net/man/3/acl_free> doesn't claim that it does preserve errno. The code in acl.c that supports POSIX 1003.1e (draft 17 -- abandoned) is pretty crufty overall; there's a lot of code duplication. However, I don't have easy access to a machine that has that kind of ACL so I haven't tried to clean it up.