From 803e1619e6cf778ca93baaa96b013dfc9f9bd8aa Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Thu, 5 Jun 2008 00:56:52 +0200 Subject: [PATCH] Fix small mistake from 2008-06-01. --- ChangeLog | 5 +++++ lib/copy-acl.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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; } -- 2.11.0