X-Spam-Check-By: sourceware.org
From: "Dave Korn" <dave.korn@artimi.com>
To: <cygwin@cygwin.com>
References: <387E9FC1619C0849BA8934938037E54F12A372@sv-muc-004.venyon-mail.local> <46D566F8.6020801@byu.net>
Subject: RE: [bug?] Directory lister (d) doesn't properly translate drive  letters
Date: Wed, 29 Aug 2007 13:33:41 +0100
Message-ID: <010d01c7ea38$d6bff140$2e08a8c0@CAM.ARTIMI.COM>
MIME-Version: 1.0
Content-Type: text/plain; 	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Office Outlook 11
In-Reply-To: <46D566F8.6020801@byu.net>
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

On 29 August 2007 13:31, Eric Blake wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> According to Ronald Fischer on 8/29/2007 4:57 AM:
>> ~/thome $ d  t:/rfischer
>> /cygdrive/h/thome/t:/rfischer doesn't exist!
>> ~/thome $
>> 
>> While ls seems to understand the notion of t:, d does not.
> 
> Not necessarily a bug.  Using drive letter notation in cygwin is asking
> for problems, you should instead use /cygdrive/t.  The fact that it works
> for some applications is happenstance, not design.


  Well, any application that just passes it's argv[] parameters directly to
(f)open will work just fine.  Any app that tries to parse and perform string
manipulation on them, OTOH, is going to go wrong... such as by interpreting it
as a relative path to $CWD, as in this example.

  I'd report it upstream.

    cheers,
      DaveK
-- 
Can't think of a witty .sigline today....


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

