file-has-acl: use acl_extended_file_nofollow if available
authorKamil Dudka <kdudka@redhat.com>
Fri, 22 Jul 2011 12:48:42 +0000 (14:48 +0200)
committerJim Meyering <meyering@redhat.com>
Fri, 22 Jul 2011 13:16:59 +0000 (15:16 +0200)
commit95f7c57ff4090a5dee062044d2c7b99879077808
tree03e2e482749cd1e0e944708355337db2f67aafc4
parent6195fa324fac1442ba68395a30f32110997959dd
file-has-acl: use acl_extended_file_nofollow if available

* lib/acl-internal.h (HAVE_ACL_EXTENDED_FILE): New macro.
(acl_extended_file): New macro.
* lib/file-has-acl.c (file_has_acl): Use acl_extended_file_nofollow.
* m4/acl.m4 (gl_FUNC_ACL): Check for acl_extended_file_nofollow.
This addresses http://bugzilla.redhat.com/692823.
ChangeLog
lib/acl-internal.h
lib/file-has-acl.c
m4/acl.m4