Re: acl: new function for testing triviality of ACL

2008-06-04 Thread Bruno Haible
Jim Meyering wrote: > > * lib/acl-internal.h (acl_access_nontrivial): New declaration. > > * lib/file-has-acl.c (acl_access_nontrivial): New function. > > (file_has_acl): Use it. Save errno afterwards. > > * lib/copy-acl.c (qcopy_acl): Use acl_access_nontrivial. > > Please go ahead

Re: acl: new function for testing triviality of ACL

2008-06-04 Thread Jim Meyering
Bruno Haible <[EMAIL PROTECTED]> wrote: > In you > asked to unify the ACL triviality tests used in copy-acl.c and file-has-acl.c. > This patch does it, at least for the POSIX-draft like APIs. The other APIs > will need different a

acl: new function for testing triviality of ACL

2008-06-02 Thread Bruno Haible
Hi Jim, In you asked to unify the ACL triviality tests used in copy-acl.c and file-has-acl.c. This patch does it, at least for the POSIX-draft like APIs. The other APIs will need different auxiliary functions, since they don't ha