www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2016/01/21/14:09:29

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=E1m/KqKjNN66uWleM/9UjrHXG2QXxykG2xCcvRXDvsaqfLFZW3yte
yUPGt8ycUJFgTNIt63jVBslXEPPXUesXJpRynKTSr40evwlN17Kjtr9vfmJBubru
2DsaL2YI36wtGDileoW+Flkt6tBmr3i4T85mwcC3TJaiGsOaQ9Y/HY=
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=HxKnZmadiHFKCJ957vkZ5r49ZxQ=; b=VGod7hkHiLFh+nNx/TV+VUD8cWDM
0AmXoy26X4t8LYkbojetXXTclICNEUZRIbA4QsBUQaVm+Dhgg8pcE2CKDFW3HuHW
j9FcJou6geEIwl6o3owx9wj5OwBoTG9tBwcvBthtqjQbkIMqVWC7RDksLwU7WW4E
cZVYyLQXnt4evzU=
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=-92.8 required=5.0 tests=AWL,BAYES_50,KAM_LAZY_DOMAIN_SECURITY,KHOP_DYNAMIC,RCVD_IN_BRBL_LASTEXT,RCVD_IN_PBL,RDNS_DYNAMIC,USER_IN_WHITELIST autolearn=no version=3.3.2 spammy=Maintainer, Hx-languages-length:1519, H*f:sk:892d987, H*i:sk:892d987
X-HELO: calimero.vinschen.de
Date: Thu, 21 Jan 2016 20:09:02 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: cygpath 2.4.0 (32-bits) in error?
Message-ID: <20160121190902.GD20175@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <d62c155805db0d69643e95de1709635f AT xs4all DOT nl> <loom DOT 20160121T160854-114 AT post DOT gmane DOT org> <20160121154209 DOT GA12461 AT calimero DOT vinschen DOT de> <892d9876668c7f8a417ed63db8befa8a AT xs4all DOT nl>
MIME-Version: 1.0
In-Reply-To: <892d9876668c7f8a417ed63db8befa8a@xs4all.nl>
User-Agent: Mutt/1.5.24 (2015-08-30)

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

On Jan 21 19:34, Houder wrote:
> On 2016-01-21 16:42, Corinna Vinschen wrote:
> >On Jan 21 15:11, Achim Gratz wrote:
> >>Houder <houder <at> xs4all.nl> writes:
> >>> %% uname -a
> >>> CYGWIN_NT-6.1-WOW Seven 2.4.0(0.293/5/3) 2016-01-15 16:14 i686 Cygwin
> >>>
> >>> %% /usr/bin/cygpath -S -u
> >>> /drv/c/Windows/SysWOW64 <=3D=3D=3D=3D Nice, the truth is out! ... but=
 do we want
> >>> it here?
> >>> %% /usr/bin/cygpath -S -w
> >>> C:\Windows\system32
> >>> %%
> >>> %% /usr/bin/cygpath -S -U
> >>> /proc/cygdrive/c/Windows/SysWOW64 <=3D=3D=3D=3D ditto
> >>
> >>Well
> >>
> >>/usr/bin/cygpath -u $( /usr/bin/cygpath -Sw )
> >>
> >>delivers the right result.  I guess an option to chose which result to
> >>get
> >>might be nice, but I can cope either way.
> >
> >I hate this path redirection stuff.  Patches welcome.  Maybe we should
> >simply replace SysWOW64 with System32, a simple string operation.
>=20
> Hi Corinna,
>=20
> Did not mean to get you angry ...

It's not you getting me angry here ;)

> do_sysfolders() in cygpath.cc has changed between 2.3.1 and 2.4.0 where
> it attempts to ascertain the 'system directory'.
>=20
> The postprocessing after GetSystemDirectoryW() is different ...

Yes, that was necessary to return case-correct paths.  I commited a
patch and hour and a half ago and uploaded a new snapshot to
https://cygwin.com/snapshots/  Please give it a try.


Thanks,
Corinna

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

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

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

iQIcBAEBCAAGBQJWoSzOAAoJEPU2Bp2uRE+gvtEQAI1L43TmJjcLVkLCKubXn+u7
ypHa2Oj8UKnhzWjGfMggF08Hq/4Tl8bw6xdOC75z+0dBeoo60wy+I59F8CjWTxj2
oeXR6uWTYhIwUwUvkdhjbSxk4wzeOpEEM0zgeIsQ0nDNv4HyIuqubRT5HeAUWCwZ
FAblrWxRH3CF3Epxe523G+ZPF+DL45fr67ZX+9nc60dL6EHjWD/jxJ3AsgGh2KYy
vS+0ulR1FIZjxHt2KpgL737F/RrcETQ2lVPg1dHpLoM4YPKiQ1ngmsC/TitC0/gx
9g9pjvwcUOS2Dir1M0+d9mfBbaMi0TF+HberOSsjMV1mowTL3oulCjI83/PaGSYt
A8iSf23Ch7P5IVC1I1OAYQIYGCKMjfVH9jbI4rwrqpuWOhroSO+9V2eCBT5QAeFD
pTPm2bBL+IgW3gfjWXL8REF9KMrEFf42ZOU1IRooe+9/LFxtJjqLBpetp1JeVNTa
eY87NY0weCZzHEL89hiH8dvxXMT3JCeuW9QJx5PyGsAXZCCI0SCNlBfzniYTRA3D
+cErb9RQb9vtmaOvK05iaPD+ztvEe2cqPP25FgVRrL2ahAEskYKBqyVjEO93mszb
s/w3HiHWRFD91osfvnvH3k/na0DqmYOxiXELNjV5BBm5QAHzIJ8c0U0wKHxgnTcy
qED0mNj+blQDg1Dir+0i
=V6a6
-----END PGP SIGNATURE-----

--xXmbgvnjoT4axfJE--

- Raw text -


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