From: Bruno Haible Date: Wed, 4 Jun 2008 22:56:52 +0000 (+0200) Subject: Fix small mistake from 2008-06-01. X-Git-Tag: v0.1~7311 X-Git-Url: http://erislabs.org.uk/gitweb/?a=commitdiff_plain;h=803e1619e6cf778ca93baaa96b013dfc9f9bd8aa;p=gnulib.git Fix small mistake from 2008-06-01. --- diff --git a/ChangeLog b/ChangeLog index 9260f7588..6c165cd11 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,10 @@ 2008-06-04 Bruno Haible + * lib/copy-acl.c (qcopy_acl): Call qset_acl, not set_acl. Fixes + 2008-06-01 commit. + +2008-06-04 Bruno Haible + * 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. diff --git a/lib/copy-acl.c b/lib/copy-acl.c index 743f6ec7c..3bb5187d0 100644 --- a/lib/copy-acl.c +++ b/lib/copy-acl.c @@ -53,7 +53,7 @@ qcopy_acl (const char *src_name, int source_desc, const char *dst_name, if (acl == NULL) { if (ACL_NOT_WELL_SUPPORTED (errno)) - return set_acl (dst_name, dest_desc, mode); + return qset_acl (dst_name, dest_desc, mode); else return -2; }