OK, thanks, I installed the attached patch into gnulib and am marking the bug as
fixed.
>From 64910190567221ed14fc0c7c6739b2802aeac613 Mon Sep 17 00:00:00 2001
From: Paul Eggert
Date: Sat, 6 Jun 2015 18:20:40 -0700
Subject: [PATCH] acl-permissions: pacify -Wsuggest-attribute=const
Problem report
Hello.
Your patch fix my build problem.
Before apply the patch, i have confirmed current head
(3150ec900c4b8f84978ca4fb80eb109ae0df875c) didn't fix the symptom.
Then make a branch and apply your path on top of it.
Then compile it again. I have confirmed it worked.
Regards,
Masanari Iida
On Sun,
Thanks, does the attached (untested) patch fix things for you?
diff --git a/lib/acl-internal.h b/lib/acl-internal.h
index 11fdea1..d592a75 100644
--- a/lib/acl-internal.h
+++ b/lib/acl-internal.h
@@ -289,6 +289,10 @@ struct permission_context {
int get_permissions (const char *, int, mode_t, st