delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/11/20/12:26:31

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
Date: Wed, 20 Nov 2002 18:26:19 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Cc: chet AT po DOT cwru DOT edu
Subject: Re: bash builtin pwd returns Windows style names
Message-ID: <20021120182619.P24928@cygbert.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com, chet AT po DOT cwru DOT edu
References: <EF6916EDC9AEBE4A8C3F03DD6073B9C30120866A AT exch1 DOT softlab DOT de> <20021120120809 DOT H24928 AT cygbert DOT vinschen DOT de> <20021120164252 DOT GE15386 AT redhat DOT com>
Mime-Version: 1.0
In-Reply-To: <20021120164252.GE15386@redhat.com>
User-Agent: Mutt/1.3.22.1i

On Wed, Nov 20, 2002 at 11:42:53AM -0500, Christopher Faylor wrote:
> Try doing a "cd c:/tmp" or something similar.  Bash will dutifully report
> that you are in the c:/tmp directory at that point.

Ok. That's a bash problem.  It doesn't recognize c: as a drive but as
the beginning of a relative path.

This is weird since bash has special handling for drive letters under
Cygwin in lib/sh/pathcanon.c, function sh_canonpath().  For some reason
it just doesn't work...

Chet?  Do you have an idea how to solve that?

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin AT cygwin DOT com
Red Hat, Inc.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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