This is the mail archive of the
cygwin@sources.redhat.com
mailing list for the Cygwin project.
Re: Treatment of x:path again
- To: Cygwin mailing list <Cygwin at Sourceware dot Cygnus dot Com>
- Subject: Re: Treatment of x:path again
- From: Chris Faylor <cgf at cygnus dot com>
- Date: Mon, 16 Oct 2000 11:53:19 -0400
- References: <002d01c0374a$d9173be0$21c9ca95@mow.siemens.ru>
- Reply-To: cygwin at sources dot redhat dot com
On Mon, Oct 16, 2000 at 12:26:57PM +0400, Andrej Borsenkow wrote:
>I am not sure, that this was fixed correctly. Consider:
>
>mw1g017@MW1G17C% ls -l d:bash.strace
>-rw-r--r-- 1 mw1g017 ITS 7828140 Oct 11 20:09 d:bash.strace
>mw1g017@MW1G17C% pwd
>/cygdrive/d/temp
>mw1g017@MW1G17C% cygpath -a -u d:bash.strace
>/cygdrive/d/bash.strace
>mw1g017@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@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@sourceware.cygnus.com