+2016-01-13 Paul Eggert <eggert@cs.ucla.edu>
+
+ acl-permissions: port to USE_ACL==0 platforms
+ I ran into this problem when building bleeding-edge GNU Emacs
+ with gcc -fsanitize=address on Fedora 23. On this platform
+ the ACL library does not pass the 'configure' test and Emacs
+ then does not build due in part to what appear to be typos in the
+ ACL part of Gnulib.
+ * lib/acl-internal.c (free_permission_context):
+ * lib/acl-internal.h (struct permission_context):
+ Test whether USE_ACL is nonzero, not whether it is defined.
+
2016-01-12 Martin Sebor <msebor@redhat.com>
mktime: rename macro to avoid glibc clash
void
free_permission_context (struct permission_context *ctx)
{
-#ifdef USE_ACL
+#if USE_ACL
# if HAVE_ACL_GET_FILE /* Linux, FreeBSD, Mac OS X, IRIX, Tru64 */
if (ctx->acl)
acl_free (ctx->acl);
struct permission_context {
mode_t mode;
-#ifdef USE_ACL
+#if USE_ACL
# if HAVE_ACL_GET_FILE /* Linux, FreeBSD, Mac OS X, IRIX, Tru64 */
acl_t acl;
# if !HAVE_ACL_TYPE_EXTENDED