X-Spam-Check-By: sourceware.org From: "Dave Korn" To: References: <387E9FC1619C0849BA8934938037E54F12A372 AT sv-muc-004 DOT venyon-mail DOT local> <46D566F8 DOT 6020801 AT byu DOT 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 AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT 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/