delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/10/29/06:42:18

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=mfprbtaw1zWkSA8SUV858V2+aupDLNGz+5jWpMdIgRSGFa3Am5elc
huu5LYOAV2VvJb5QkacqVoz0r/thG7V5Jo8+HYHEBC4y9pX+0kulo3TM19JC+irX
TA1SyUkYOdhlCLZuGtSXX84f41MLlJMvmg+BYo76pKAX8lnkaYLHj4=
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=pHrqlgPyguRrMqLEWy4rx3Y2Y9g=; b=IVaIEqxFehi/znh9cJp5Wdgz9aq2
MAooT4+T8BLBpCDD0qhjn4XzhuxhLQHuGqlU99Nua3P+fS9Rt5HVeOs+YlcLwfiu
tOn/Y1lXUmrlpBHHeIHtt2ZVKqS4qTmFHNp9JbTv/ZQEpVlTuYO9zDiFQOM2yapv
DDSab5bwIcc7YnM=
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=-5.9 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.2
X-HELO: calimero.vinschen.de
Date: Wed, 29 Oct 2014 11:41:58 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: [ANNOUNCEMENT] TEST RELEASE: Cygwin 1.7.33-0.3
Message-ID: <20141029104158.GU20607@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <announce DOT 20141027214634 DOT GA20607 AT calimero DOT vinschen DOT de> <5450001C DOT 2030609 AT t-online DOT de>
MIME-Version: 1.0
In-Reply-To: <5450001C.2030609@t-online.de>
User-Agent: Mutt/1.5.23 (2014-03-12)

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

On Oct 28 21:44, Christian Franke wrote:
> Corinna Vinschen wrote:
> >Hi Cygwin friends and users,
> >
> >
> >I just released a 3rd TEST version of the next upcoming Cygwin release,
> >1.7.33-0.3.
> >
> >Changes compared to the former test version 1.7.33-0.2:
> >
> >- Add -b/--remove-all option to setfacl to reduce the ACL to only the
> >   entries representing POSIX permission bits.
>=20
> Thanks, I missed that functionality several times.
>=20
> But unfortunaltely this change introduced a regression.
> This testcase is from the syslog-ng-config script and worked with
> 1.7.33-0.2:
>=20
> $ setfacl -m u:system:rwx FILE
> setfacl: Invalid argument
>=20
> Hmm...
> $ git diff cygwin-1.7.32-0.2
> ...
> -  else if ((lcnt =3D acl (path, GETACL, MAX_ACL_ENTRIES, lacl)) < 0
> -      || (lcnt =3D modacl (lacl, lcnt, acls, cnt)) < 0
> -      || (action !=3D Delete && (lcnt =3D addmissing (lacl, lcnt)) < 0)
> -      || (lcnt =3D acl (path, SETACL, lcnt, lacl)) < 0)
> ...
> +    default:
> +      if ((lcnt =3D acl (path, GETACL, MAX_ACL_ENTRIES, lacl)) < 0
> +         || (lcnt =3D modacl (lacl, lcnt, acls, cnt)) < 0
> +         || (lcnt =3D addmissing (lacl, lcnt) < 0)   // <=3D=3D=3D=3D Hm=
m.... :-)

Ouch!  What a dumb typo.  Thanks for pointing it out.

> >- Drop code removing current working directory from the default DLL
> >   search path.  Instead:
> >   When exec'ing applications, check if $PATH exists and is non-empty.  =
If not,
> >   add PATH variable with Cygwin installation directory as content to Wi=
ndows
> >   environment to allow loading of Cygwin system DLLs.
>=20
> This works as expected.
>=20
> Interesting:
> The windows PATH is set to "\\?\X:\cygwin_dir\bin" instead of
> "X:\cygwin_dir\bin". This apparently works to find DLLs by CreateProcess()
> but not to find commands by cmd.exe:
>=20
> $ export PATH=3D/bin
>=20
> $ /cygdrive/c/Windows/System32/cmd /c PATH
> PATH=3DC:\cygwin\bin
>=20
> $ /cygdrive/c/Windows/System32/cmd /c uname
> CYGWIN_NT-6.1-WOW64
>=20
> $ unset PATH
>=20
> $ /cygdrive/c/Windows/System32/cmd /c PATH
> PATH=3D\\?\C:\cygwin\bin
>=20
> $ /cygdrive/c/Windows/System32/cmd /c uname
> ... some localized 'uname not found' message

Isn't it nice how CMD is not capable of using Windows' own capabilities?
I applied a patch which uses the non-prefixed directory if possible,


Thanks,
Corinna

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

--PNftq4k6NuHCGvy8
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBAgAGBQJUUMR2AAoJEPU2Bp2uRE+gBIIP/jeseG9wE7kYr81ceJp5Lrz9
RN8McOhhvQ31NcsY815p6vTdr2b6FcPiguAxkG0CkyvJ3fc+PM+U96u7N5btQnv4
HTjW8B1CzWLh52Gij9H2XrcFItGYQEo0/phVStmYpujB6r83GT9c0ygUypXEe7ek
AbkfRtyp/F7yMxX3vADyfrKvZlONo9XhzGx2jA0McdwwJL+v41MirDsflcu3TiCw
7XNSAW4ZkqHkWATJqSJMHz0o4T+vGfffO4umR1Ax+BjIlDOHgTsVtPXkaJffpQCO
ssc7wgMw23k/DNaBSE3nIaHHCuTEbwQCi9Ry3aef9y21+4Evyu4bPo8HrhMIRtNs
M65uHFI0V+EfT42wLp4jE24FHKtOUPABDxLE/gJRkjIEkXDYNXJ4wuNRiegVbSqF
PBInfcjr43rHzb65pXx5hAdFup1XDtfZHbkwSg2Gk1ruT2a3YxpANpQVv/EVFn0l
XXLRn4u+G13lE9/8j931DRs3tY02fcga5RXx9uaFokStLw5OOxizqpXD6ZajhnOB
KbBFMok76cyzpazNbKxFJuH6EHTD2wA+KHINJdbCMCkrESvdx2BRUqKzEmwgDSt1
yiYp1RO3MFNraF5B0tgDltMjftsVfUtfVR0YomHrJdvlhrE7DWuPyV1BBTZi0DKN
8t3HTpsPtRhMIcE2VoS2
=sXxd
-----END PGP SIGNATURE-----

--PNftq4k6NuHCGvy8--

- Raw text -


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