]> Savannah Git Hosting - gnulib.git/commitdiff
file-has-acl: Fix compilation error on Slackware 13 (regr. 2023-05-12).
authorBruno Haible <bruno@clisp.org>
Mon, 5 Jun 2023 13:13:53 +0000 (15:13 +0200)
committerBruno Haible <bruno@clisp.org>
Mon, 5 Jun 2023 13:13:53 +0000 (15:13 +0200)
* lib/file-has-acl.c (XATTR_NAME_POSIX_ACL_ACCESS,
XATTR_NAME_POSIX_ACL_DEFAULT): Add fallback definitions.

ChangeLog
lib/file-has-acl.c

index 9554071224a7ed88668a2dc66ae7f1addd334f38..b0c742b085e955f91fe32356e4be1a00a8f17ddb 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2023-06-05  Bruno Haible  <bruno@clisp.org>
+
+       file-has-acl: Fix compilation error on Slackware 13 (regr. 2023-05-12).
+       * lib/file-has-acl.c (XATTR_NAME_POSIX_ACL_ACCESS,
+       XATTR_NAME_POSIX_ACL_DEFAULT): Add fallback definitions.
+
 2023-06-05  Bruno Haible  <bruno@clisp.org>
 
        Fix bugs on mingw when module dirfd is in use (regression 2023-04-26).
index 13f08c305546ee0bd632aca3e05db09cca3065a9..3eeaf9c57d15bd8eed1425792ca49aea68364fa8 100644 (file)
 # ifndef XATTR_NAME_NFSV4_ACL
 #  define XATTR_NAME_NFSV4_ACL "system.nfs4_acl"
 # endif
+# ifndef XATTR_NAME_POSIX_ACL_ACCESS
+#  define XATTR_NAME_POSIX_ACL_ACCESS "system.posix_acl_access"
+# endif
+# ifndef XATTR_NAME_POSIX_ACL_DEFAULT
+#  define XATTR_NAME_POSIX_ACL_DEFAULT "system.posix_acl_default"
+# endif
 
 enum {
   /* ACE4_ACCESS_ALLOWED_ACE_TYPE = 0x00000000, */