delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2018/10/18/05:06:58

X-Recipient: archive-cygwin AT delorie DOT 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:to:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; q=dns; s=
default; b=Qg1cXwB/Jq2tmV6Ya/QHiQjg+TLuxWwAnjq0HvgqrN3tnywE+1lf5
Mlll8c/ena917MFvczq4E32tpViG6JIneCc35paN0Cg8n3UNAuVGf+Lr7qaK2LP7
P6WUrHYsY5M1Ey7tRxsQsPBUSN4t2M/MHOL8eXY4VAqMPv+jYYpmDE=
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:to:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; s=default;
bh=E9kgBnzgFmFPuyw/vYEZp/k5LeI=; b=l7arS+RIpoXbBxX9HH9vkaxbWCto
5YyTKZClqGVHJSHDSTkxXgiwx4ovalarHYY5/0v5CBjAP07AJlus6tM8Ggfgm7/r
BxSvG1BNTHngPnksZk931dFzDm/bajfbkjT/UtGmE2cG1vnjPfaBpN3Y/bMr8BB2
BsRf09pqvrXXmns=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Spam-SWARE-Status: No, score=-101.2 required=5.0 tests=AWL,BAYES_00,GOOD_FROM_CORINNA_CYGWIN,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 spammy=mails, Hx-languages-length:1095, H*R:D*cygwin.com, H*R:U*cygwin
X-HELO: mout.kundenserver.de
Date: Thu, 18 Oct 2018 11:06:42 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: cygwin/acl.h not included from sys/acl.h
Message-ID: <20181018090642.GZ7872@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <1165926610 DOT 11966611 DOT 1539851450039 DOT ref AT mail DOT yahoo DOT com> <1165926610 DOT 11966611 DOT 1539851450039 AT mail DOT yahoo DOT com>
MIME-Version: 1.0
In-Reply-To: <1165926610.11966611.1539851450039@mail.yahoo.com>
User-Agent: Mutt/1.9.2 (2017-12-15)

--ZG5hGh9V5E9QzVHS
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Oct 18 08:30, matthew patton via cygwin wrote:
> Many of the headers in 'sys' include their counterparts from 'cygwin'.
> Why is acl.h special? I see the comment on line 25 but I'm missing the
> point, I guess - not seeing the collisions.

Not collisions, namespace poisoning.  cygwin/acl.h defines the
old Solaris macros and function calls, but a POSIX application
should be free to use functions like "acl" by itself.

> 'cygwin/acl.h' is a very important file.

No, it isn't, if you're using POSIX ACLs.

> Granted I don't normally
> compile much from source under Cygwin but I was building my own (very
> slightly) modified RSYNC and stumbled across the missing dependency.
>=20
> What is the correct solution if the 1-liner fix to sys/acl.h is not
> acceptable?=20

Build rsync with POSIX ACL support.  It's already in the sources.  It's
very likely that a simple autoconf (or autoreconf if you build from repo
sources) will do.


Corinna

--=20
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

--ZG5hGh9V5E9QzVHS
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEoVYPmneWZnwT6kwF9TYGna5ET6AFAlvITSIACgkQ9TYGna5E
T6BKuA/+IUAGNuX1kHbgQOek55xDAaPVVttLlNpBAdoZvFeeNLsV7V+lr2UFwmTy
+pP3hptseD0hosvhiyB/pbiHPbu2qltiiaTqgcdP0M+g+yuD1WmDyXEo8HfIfX3o
wa7T9SI90WVEA6w5qMCien85t/3mnI4/m1/7cMjzICnQgoVBYYEKTCErC2rTf3JI
vSEMXaKj+1wsJpBaO5jfYYNGc/ZcUthB+bFYzRVQbzukrAzqR2hd3s7XfWSh0AUt
X+Exij2giAThmxwJUayy/T8cj6Po12fm0OmHu2UncVce+xAdgmczrdq36VZCt3YK
RRbguZEu26RwrisdZ3BtPUybJJRj8cb2yFjzx1e9GMt6q/8brSLGnKewRT531ihF
u3gD+AyPP78iDBYnQ2ecqXbSQ+fSSADXo7H5SDwjVhescoAxXHoYpuc00ICsAAMo
jfC/zb7+D6Zt9UM2/40wiT9GZik2e8slr0hx1t351WeM9I7Dl+2l2spQHAlbdNKv
EEc29JTc6OGnjOO4i8Z0hpa1FQDQNH87FVYU7siWbxyYIGwVIyR0HYTniNoFYGx/
E8xwU1jLrMTw/+cMaxdGQOsyj5uHkMIZcORaSOb+5Uuh3GVSceLAR4qAPoMyl9+4
7N5utHoXOl0On+dsNdj14YdqltphTG1VjI0NnsCoRa52XJ1NoYA=
=zIGM
-----END PGP SIGNATURE-----

--ZG5hGh9V5E9QzVHS--

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019