]> Savannah Git Hosting - gnulib.git/commit
file-has-acl: port to CentOS 6
authorPaul Eggert <eggert@cs.ucla.edu>
Sun, 26 Apr 2015 16:20:34 +0000 (09:20 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Sun, 26 Apr 2015 16:21:05 +0000 (09:21 -0700)
commitff714c0a2094bdefd9ed41603493e66aaf285f12
treefe2e17c0b0cde95dcab84e3487db1aef42c03012
parent496c2cf0347839dc189891d7f158fcdd7f5c2e7c
file-has-acl: port to CentOS 6

Problem reported by Tom G. Christensen in:
http://lists.gnu.org/archive/html/bug-gnulib/2015-04/msg00074.html
* lib/file-has-acl.c: Use GETXATTR_WITH_POSIX_ACLS instead of a
combination of HAVE_SYS_XATTR_H, HAVE_LINUX_XATTR_H, and
HAVE_GETXATTR.
* m4/acl.m4 (gl_FILE_HAS_ACL): Test fot the entire combination of
linux/xattr.h, sys/xattr.h, getxattr, XATTR_NAME_POSIX_ACL_ACCESS,
and XATTR_NAME_POSIX_ACL_DEFAULT, since that's what what
file-has-acl.c actually needs.
ChangeLog
lib/file-has-acl.c
m4/acl.m4