From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31200 invoked by alias); 3 Dec 2011 22:11:55 -0000 Received: (qmail 31192 invoked by uid 22791); 3 Dec 2011 22:11:55 -0000 X-SWARE-Spam-Status: No, hits=-7.5 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,RP_MATCHES_RCVD,SPF_HELO_PASS X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sat, 03 Dec 2011 22:11:39 +0000 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id pB3MBcFg002627 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Sat, 3 Dec 2011 17:11:39 -0500 Received: from [10.3.113.31] (ovpn-113-31.phx2.redhat.com [10.3.113.31]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id pB3MBcKL029937 for ; Sat, 3 Dec 2011 17:11:38 -0500 Message-ID: <4EDA9E99.9030307@redhat.com> Date: Sat, 03 Dec 2011 22:11:00 -0000 From: Eric Blake User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:8.0) Gecko/20111115 Thunderbird/8.0 MIME-Version: 1.0 To: cygwin@cygwin.com Subject: Re: [ANNOUNCEMENT] [1.7] Updated: dash-0.5.5.1-2; Obsolete: ash References: <4B5860C9.50100@sidefx.com> <4B591221.10501@byu.net> <4B91105B.7050205@sidefx.com> <20100305152637.GK7980@calimero.vinschen.de> <4B913788.40301@sidefx.com> <4B913AF2.3070102@redhat.com> <20100305172048.GN7980@calimero.vinschen.de> In-Reply-To: <20100305172048.GN7980@calimero.vinschen.de> OpenPGP: url=http://people.redhat.com/eblake/eblake.gpg Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enigB14E16B5407CAA7453B6D2AB" X-IsSubscribed: yes 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 X-SW-Source: 2011-12/txt/msg00052.txt.bz2 --------------enigB14E16B5407CAA7453B6D2AB Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-length: 1110 On 03/05/2010 10:20 AM, Corinna Vinschen wrote: Rounding out a (super-old) thread on my dash todo list... >>> $ dash >>> $ cd /c >>> $ ls -d W* >>> WINDOWS >>> $ cd c:/WINDOWS >>> cd: 3: can't cd to c:/WINDOWS >> >> Let's rule out bash vs. dash complexities, and first focus on whether >> cygwin1.dll might be at fault. >=20 > Works fine in Cygwin, I just tested it: ... > $ gcc -g -o chdir chdir.c > $ ./chdir C:/Windows > pwd: /cygdrive/c/Windows >=20 > It's a problem in dash apparently. I finally spent time in gdb figuring out what's going on. The problem is that dash tries to convert c:/windows to an absolute path, since it doesn't start with /. I suppose I could teach dash to recognize [letter]:/ as absolute paths, although that makes dash larger, and puts a burden on me (since I can guarantee upstream dash won't accept such a patch). > I just don't care enough for DOS paths so I won't fix. Me neither. And since you can use /cygdrive/c, not c:/, I won't bother to fix it. --=20 Eric Blake eblake@redhat.com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --------------enigB14E16B5407CAA7453B6D2AB Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" Content-length: 620 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQEcBAEBCAAGBQJO2p6aAAoJEKeha0olJ0NqJYwIAJqAHNPXne4uIUyBUEeKHbQ8 55WZCHmkJZyc7u1evxPGJfMgKfKdUUg2yxJnfPVDRduyndQlyexbApjvSkmALZ5o 1HfL7/EDHBYMQcXkOaTzylpy4litDnliINrcgkJWTXxTBOdLrnY14/OH2XITN+fF QqjsvxCB4JsWDKZLBwR62Ogd80fLu5LKSibEuzkEJRv7catG+8CcPb+yIagVRb5F pdPMlZLbivsqfqY8JOVF9FZNHCn/wWVpNdwjQLamaPcawZ77TaxHqPoQ4NtxsgDV v5MoT4DFd0PIvO6bq8cf9Kf1q43UmPJBQJhKLhep+B68km0OZ4luXJbj4vpR+sk= =hQnc -----END PGP SIGNATURE----- --------------enigB14E16B5407CAA7453B6D2AB--