delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2016/01/07/07:44:32

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=Y3m9QiRRIxUVdsrGydXKYR2D0lFv1uvcIusIgsuSaFgkHbB1NgewS
Sze2rPCNwMMcL30rC4OXFbz6w3NHQFKPf66NIClH1kj5EGnGM3P4S5vpq6/9whPX
4QvAnDb0zX42lOOOe9bYMYN8hM4P22/TVeAIGGDPfV/up2J2w8MLYw=
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=nGLpHEQu8kQMZvluR2wk6KBHNcU=; b=F0jzkkpYwYUy+bhjGm3r5qiKlDBE
osJB4vW8uweIwBqTLx77uxLXRWgrhBaEYma2QNYa0xmZOy+y4i1qzoLaS1UCdNG3
bd9ySy8YRkJeE57k01u487aUe3Q4UpVtdyBh+rJmzsJPVQtTQMhlRctqgB67P2oX
EUCqepQLPZE4aWU=
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-Virus-Found: No
X-Spam-SWARE-Status: No, score=-101.9 required=5.0 tests=AWL,BAYES_50,KAM_LAZY_DOMAIN_SECURITY,KHOP_DYNAMIC,RCVD_IN_PBL,RDNS_DYNAMIC,USER_IN_WHITELIST autolearn=no version=3.3.2 spammy=pet, H*f:CALiPeu, H*f:sk:kWfwdxC, H*i:91W
X-HELO: calimero.vinschen.de
Date: Thu, 7 Jan 2016 13:44:09 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: acl_perm_t not declared error while compiling cygwin
Message-ID: <20160107124409.GA20447@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <CALiPeu=91W+kWfwdxCzFj7OR6WLZwwWZvPJFA8-t_7A27StCNQ AT mail DOT gmail DOT com>
MIME-Version: 1.0
In-Reply-To: <CALiPeu=91W+kWfwdxCzFj7OR6WLZwwWZvPJFA8-t_7A27StCNQ@mail.gmail.com>
User-Agent: Mutt/1.5.24 (2015-08-30)

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

On Jan  7 10:52, David Lee wrote:
> Hi all,
>=20
> while trying to compile cygwin from git master I got this error. Any
> suggestions are appreciated.
>=20
> ------------------------------------------
>=20
> c++wrap -O2 -g -fno-rtti -fno-exceptions -fno-use-cxa-atexit -Wall
> -Wstrict-aliasing -Wwrite-strings -fno-common -pipe -fbuiltin
> -fmessage-length=3D0 -MMD -Werror -fmerge-constants -ftracer -c -o
> sec_acl.o /home/dave/newlib-cygwin/winsup/cygwin/sec_acl.cc
>=20
> /home/dave/newlib-cygwin/winsup/cygwin/sec_acl.cc: In function =E2=80=98v=
oid
> __aclcalcmask(aclent_t*, int)=E2=80=99:
> /home/dave/newlib-cygwin/winsup/cygwin/sec_acl.cc:1301:3: error:
> =E2=80=98acl_perm_t=E2=80=99 was not declared in this scope
>    acl_perm_t mask =3D 0;
>    ^

I screwed this up.  This change was part of a pet project to add POSIX
ACL functions to Cygwin and I forgot to change acl_perm_t to mode_t
before applying the change.  In fact, mode_t is the right type anyway
and using acl_perm_t here was wrong to begin with.  Fix in the repo.


Thanks,
Corinna

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

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

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCAAGBQJWjl2YAAoJEPU2Bp2uRE+gyvQP+QHo36Nd82E92WlvQpBr+7Pk
lF/4UwLcaHHocxnVxZZdRxWKQ9qLfixiPEv3kpbvJ0AfuYZrju8BAHF/elxZgn/p
OTGzi+6RFIM0yxseBQndxqNZr/BtLQ0uTVWTKu9E0J5mVkzI38ZxwX+9N+KpEr4G
lJCNVQxIlhjd7hZygqKsLusR/syEnsTwTU37u4V31oHIG7Mf7jxz/rxyvm+xxoMG
0L1uDxTJDkUcNeQO0DK0gv3WFsUm8j8T4D2Ji1zeHWEvwG5LkETf/nomnSfQQduE
bIlCc0wSKN9Ftt5sM2lflRSAGH0yclZlfHDnm2i7qcJnHIPiKlOWq5dnPtHdVY7b
LfI9qBrPqdSrJe/RgmgDV2ZnCdFwYNOX3EVmpe9bm/YdpQfq8De8OJiZpJbL/jWM
/dCSB2iL7KmH0nXpSkcR6T2MTOm41lc7orTIg9mzVIU3EQv279Tqeiw9xxiKaUI+
Rg8++zIADlIbUibq0b/TRuShvIlNEAklLfN7S27hX741a2ADs5crljTNyJZgc3VP
OsBi55pR9rZ4URM8sr0KMoP0DeoCU3QJOIYWVw0bhvdLB9yZE20xYYptfJRs0NQi
k6fFmA2JqAH4oqTMrX65bmyjX9wV2+fFW6ZIRy6/4GJ8X5eZSakoFBPlMUKlHWI+
LgjGS+Id3jD4tNkts3m2
=uwRn
-----END PGP SIGNATURE-----

--AhhlLboLdkugWU4S--

- Raw text -


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