X-Recipient: archive-cygwin@delorie.com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:date:from:reply-to:reply-to:to:message-id
	:subject:mime-version:content-type:content-transfer-encoding
	:references; q=dns; s=default; b=dcTgrQ4zVOsAKGKxLWIoWfbe1wcDmqJ
	+5T/vcC71uj6azF6enLBnpV/iV6mXkBxGyCdo+Y9/XTiupc/bBzH+k2LYJnNnXFJ
	nOB/uCGttPf5qiGKkAOXFTYf2Dz4EYBzoi7aLrsFAl38xmz1KI2/cs01+1Ucss3g
	t0N/kNN5wVGE=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:date:from:reply-to:reply-to:to:message-id
	:subject:mime-version:content-type:content-transfer-encoding
	:references; s=default; bh=3LoSW2wa1NRCZGeVl+1bHyPChqg=; b=TFUrM
	MmIm7llRyIijVdAv3MR/WU0JO2S51rPXcP6xAEiGrnRu+S1CZkqHpgOCaFiJZRwD
	8eliCb2k11Ew7UOgdZS3xCtUpowdEUw2MesnU2ydf2CI4gDD7ST1X04nM81kVeY2
	H/KVWYhdeJ+X0lhFGrb11ul33vqjPUcatOKBbA=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Spam-SWARE-Status: No, score=1.3 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy=H*UA:KHTML, H*UA:AppleWebKit, H*UA:Safari, H*F:D*yahoo.com
X-HELO: sonic306-2.consmr.mail.bf2.yahoo.com
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1539856298; bh=9g9c7+StHI3KM1rsyRzLOv093nHKLy4ixDYA1/aYRF0=; h=Date:From:Reply-To:To:Subject:References:From:Subject; b=emI71hfw5IqD1BkYilJswK7VX53+0XhQv1zdPWMRTiPvLF+zITgP8LyhWvVLr4QNLcZn61MaLPI9eM1fCb5hQOdsMxCLc4wOp0TbhUWONrONnhmJumLQBuYPZ//6GN+NMCojmhzXn+g8P3Azc5WVCtWaXQulpmEX2FTOZPFw9WjAJYkvT6dx+p0ia7we7jADRReK+1LLy8jD5PwFr4ZL3UQncHIkEdKiC4rbmzlFib4XPPAK4VeLekcXqujDgB3AZSFi3YwMfXn4WkQ3D7clVFieNJT8B7sqelIS10tkkSgQiVgnNLzySVbDteX+LYbsHC5pgEms721XmGdgaEQVTA==
Date: Thu, 18 Oct 2018 09:51:33 +0000 (UTC)
From: "matthew patton via cygwin" <cygwin@cygwin.com>
Reply-To: matthew patton <pattonme@yahoo.com>
Reply-To: matthew patton <pattonme@yahoo.com>
To:  <cygwin@cygwin.com>
Message-ID: <1582687447.11951125.1539856293918@mail.yahoo.com>
Subject: Re: cygwin/acl.h not included from sys/acl.h
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
References: <1582687447.11951125.1539856293918.ref@mail.yahoo.com>
X-IsSubscribed: yes

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

