cygwin/acl.h not included from sys/acl.h

matthew patton via cygwin cygwin@cygwin.com
Thu Oct 18 09:51:00 GMT 2018


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



More information about the Cygwin mailing list