From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 75759 invoked by alias); 21 Jan 2016 19:09:06 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 75748 invoked by uid 89); 21 Jan 2016 19:09:05 -0000 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 Received: from ipbcc05c50.dynamic.kabel-deutschland.de (HELO calimero.vinschen.de) (188.192.92.80) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 21 Jan 2016 19:09:05 +0000 Received: by calimero.vinschen.de (Postfix, from userid 500) id B5FB4A80398; Thu, 21 Jan 2016 20:09:02 +0100 (CET) Date: Thu, 21 Jan 2016 19:53:00 -0000 From: Corinna Vinschen To: cygwin@cygwin.com Subject: Re: cygpath 2.4.0 (32-bits) in error? Message-ID: <20160121190902.GD20175@calimero.vinschen.de> Reply-To: cygwin@cygwin.com Mail-Followup-To: cygwin@cygwin.com References: <20160121154209.GA12461@calimero.vinschen.de> <892d9876668c7f8a417ed63db8befa8a@xs4all.nl> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="xXmbgvnjoT4axfJE" Content-Disposition: inline In-Reply-To: <892d9876668c7f8a417ed63db8befa8a@xs4all.nl> User-Agent: Mutt/1.5.24 (2015-08-30) X-SW-Source: 2016-01/txt/msg00271.txt.bz2 --xXmbgvnjoT4axfJE Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-length: 1549 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 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" Content-length: 819 -----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--