delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT sources DOT redhat DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT sources DOT redhat DOT com> |
List-Help: | <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs> |
Sender: | cygwin-owner AT sources DOT redhat DOT com |
Delivered-To: | mailing list cygwin AT sources DOT redhat DOT com |
From: | Chris Faylor <cgf AT cygnus DOT com> |
Date: | Mon, 16 Oct 2000 11:53:19 -0400 |
To: | Cygwin mailing list <Cygwin AT Sourceware DOT Cygnus DOT Com> |
Subject: | Re: Treatment of x:path again |
Message-ID: | <20001016115319.C11579@cygnus.com> |
Reply-To: | cygwin AT sources DOT redhat DOT com |
Mail-Followup-To: | Cygwin mailing list <Cygwin AT Sourceware DOT Cygnus DOT Com> |
References: | <002d01c0374a$d9173be0$21c9ca95 AT mow DOT siemens DOT ru> |
Mime-Version: | 1.0 |
User-Agent: | Mutt/1.3.6i |
In-Reply-To: | <002d01c0374a$d9173be0$21c9ca95@mow.siemens.ru>; from Andrej.Borsenkow@mow.siemens.ru on Mon, Oct 16, 2000 at 12:26:57PM +0400 |
On Mon, Oct 16, 2000 at 12:26:57PM +0400, Andrej Borsenkow wrote: >I am not sure, that this was fixed correctly. Consider: > >mw1g017 AT MW1G17C% ls -l d:bash.strace >-rw-r--r-- 1 mw1g017 ITS 7828140 Oct 11 20:09 d:bash.strace >mw1g017 AT MW1G17C% pwd >/cygdrive/d/temp >mw1g017 AT MW1G17C% cygpath -a -u d:bash.strace >/cygdrive/d/bash.strace >mw1g017 AT MW1G17C% ls -l /cygdrive/d/bash.strace >ls: /cygdrive/d/bash.strace: No such file or directory > >The x:path is treated by Windows as "relative to current directory of drive >x". Instead, cygpath treats it as "relative to root directory of drive x". See >the difference? > >BTW windows path as reported by cygpath is also wrong: > >mw1g017 AT MW1G17C% cygpath -a -w d:bash.strace >d:bash.strace > >This is not an absolute path. How would you suggest having something be 'relative to the current path' in cygwin, given the /cygdrive method of doing things? cygwin has never kept track of the current directory of other drives. If you'd like to submit a patch to somehow accomplish this, I'd be happy to apply it. cgf -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |