delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/02/12/06:14:43

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=c9T2ntCKDF00oFUDZkGO5evj6SacnrzX74t8pgkck+1B3vdxEKY+Z
ZUAWKdP/BcZmG828dYDZ8tBCdlw0ooy/ZwkL0zJVL0k+bTlp0owMGPDlX/YsUSHw
Zh7PwKo/PpkggPwYf855r770zwt5h/D47jo/dATm96/+45T9/6+vMI=
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=yhgiUqVbtaqdMLJD6c7hH8hPWFM=; b=blv8neAurCVHmm02Vm0dHI30kTqU
T9zBao1y63s1a8yKWImnxfQXOMCwUWMRD+ZsxONsMxwreV1rOyNuxEjTHrwtvTrX
OCvUgUa+8AIvAGPe/mGCZbbGbL5IayR0mwjKS7wmQWGZ4+DkegsOcdW3EtAWnaFR
hLOhT5WTkpsC+Tk=
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: Thu, 12 Feb 2015 12:11:55 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: execlp/execvp needs case-correct PATH
Message-ID: <20150212111155.GV7818@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <54D7EB8E DOT 8070308 AT towo DOT net> <20150209101747 DOT GA12131 AT calimero DOT vinschen DOT de> <54D91D54 DOT 5000705 AT towo DOT net> <20150210092756 DOT GC15989 AT calimero DOT vinschen DOT de> <54DA5890 DOT 8060609 AT towo DOT net> <20150211132810 DOT GI7818 AT calimero DOT vinschen DOT de> <54DC804A DOT 3020008 AT towo DOT net>
MIME-Version: 1.0
In-Reply-To: <54DC804A.3020008@towo.net>
User-Agent: Mutt/1.5.23 (2014-03-12)

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

On Feb 12 11:28, Thomas Wolff wrote:
> On 11.02.2015 14:28, ext Corinna Vinschen wrote:
> >On Feb 10 20:14, Thomas Wolff wrote:
> >>With the old setting (bogus first in path), apparently/assumedly exec*p
> >>somehow finds the file in /cygdrive/c/WINDOWS but then cannot start it =
from
> >>there because of the case mis-match.
> >>There=E2=80=99s still the inconsistency with shell behaviour.
> >I found the cause.  The function searching for executables in $PATH was
> >searching on the Win32 PATH variable.  The underlying conversion
> >functionality treats Win32 paths with default flags.  I revamped the
> >search function to iterate over the POSIX PATH variable so the
> >posix=3D[0|1] mount flag is taken into account.  As a nice side effect,
> >the search function is mow much simpler and easier to understand.
> >
> >I tested this new stuff in a variety of situations, but there's still
> >the chance that I missed something.  So this needs a good, sturdy testin=
g.
> >
> >I just uploaded new snapshots to the usual place:
> >https://cygwin.com/snapshots/
> >
> >Please give it a try.
> Excellent, thank you. I also tested with ping vs. PING vs. PING.EXE and
> behaviour is consistent.

Thanks for testing.  Please continue to see if I accidentally broke
some other scenario.


Thanks,
Corinna

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

--z9sQuz+HmDh2hVO4
Content-Type: application/pgp-signature

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

iQIcBAEBAgAGBQJU3Ip7AAoJEPU2Bp2uRE+gMCkP/2vS9+potgCNPeyn/KyA6KSs
zq0W0L8TJp0pT7CoNZ8Ht8Mi0Wh0mKQo2Tl/h5A/nkQ4WjpYz6LCBUVPzfKXqD9d
H5ltKaDwY45KnmPnb0Wyb7MrrqhilZiLqk1z3/uItvQFJdiIfkwHmbdJ47QDdxXf
l3OgSQqYercxXdA03268AR2u/rEs2W5i9no8TEIE+Ohj+iTL9e7uXKq+w1tyGDB1
nS75K8O0WKgmt56UG38ruzBdNwPyN0DRxoH+pl3UZFCM2CQ/qnu2AXjYuUcD12bD
5UQZZsvY50DzN3e8GdYUQbf3AqGzpzXsOp5uwqWlrNxCBmLT/svbpqfun80eP9Mj
4jkueReDarLkbSw/Kdk8e/J4h0n57GKqsBdZZQnALrvVBuYtJL9PmKT0ezb8zGgV
O6P2PBtd3tDt4XD1tZk2pAgV0SvkDDlw9JIRLm/g2DeyAJf3mw9JnxXHdGgk20ve
+/+ahr8cLc8PatV2H5gUUDHikZmYLJprGUtCpJ/eDPvHec3EOi2Koc47ShmQstdF
lXKlbVSc+f6qQ9sKLSwfxpy48lt65uPfkhrQ5jwzgUINIS8wXS+zWT+nbF5zsSFn
6nReeYwPyScVxIVFoWQ7JbCBIurcEHhr5eerFzDYLB8aXhIaeN29gKApOh92pHZP
xys8FHoLbcqfmBc1F7CA
=ygt/
-----END PGP SIGNATURE-----

--z9sQuz+HmDh2hVO4--

- Raw text -


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