bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: $(LIB_ACL_TRIVIAL)


From: Paul Eggert
Subject: Re: $(LIB_ACL_TRIVIAL)
Date: Tue, 11 Dec 2007 09:33:51 -0800
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux)

Bruno Haible <address@hidden> 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.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]