This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: cygwin/acl.h not included from sys/acl.h
- From: "matthew patton via cygwin" <cygwin at cygwin dot com>
- To: <cygwin at cygwin dot com>
- Date: Thu, 18 Oct 2018 09:51:33 +0000 (UTC)
- Subject: Re: cygwin/acl.h not included from sys/acl.h
- References: <1582687447.11951125.1539856293918.ref@mail.yahoo.com>
- Reply-to: matthew patton <pattonme at yahoo dot com>
- Reply-to: matthew patton <pattonme at yahoo dot com>
https://github.com/tuna/rsync/blob/master/configure.ac#L981
Looks like it was short-circuited to use Solaris ACLs. I'll send the RSYNC guys a patch.
Defeating the case statement does pick up Posix ACLs.
$ grep -i acl config.status
S["LIBS"]="-lacl "
D["HAVE_SYS_ACL_H"]=" 1"
D["HAVE_ACL_LIBACL_H"]=" 1"
D["HAVE_ACLSORT"]=" 1"
D["HAVE_LIBACL"]=" 1"
D["HAVE_POSIX_ACLS"]=" 1"
D["SUPPORT_ACLS"]=" 1
I don't know what the elegant solution is to intuit the need to include cygwin/acl.h if HAVE_SOLARIS_ACLS though.
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple