This is the mail archive of the
cygwin@sources.redhat.com
mailing list for the Cygwin project.
Re: Posible bug in cygpath Windows -> Unix conversion
- To: Andrej Borsenkow <Andrej dot Borsenkow at mow dot siemens dot ru>
- Subject: Re: Posible bug in cygpath Windows -> Unix conversion
- From: Bob McGowan <rmcgowan at veritas dot com>
- Date: Mon, 09 Oct 2000 10:54:20 -0700
- CC: Cygwin mailing list <Cygwin at Sourceware dot Cygnus dot Com>
- Organization: VERITAS Software
- References: <001501c03216$8ff596c0$21c9ca95@mow.siemens.ru>
It looks like the conversion assumes a "drive_letter:slash" and so is
cutting the first 3 characters, producing the output you see. This is
probably the result of using the -a option, forcing cygpath to assume
the source string is an absolute path when in fact it is not.
Andrej Borsenkow wrote:
>
> This is in 1.1.4:
>
> I am in d:\temp; there is ascii203 subdirectory:
>
> mw1g017@MW1G17C% cd /cygdrive/d/TEMP
> mw1g017@MW1G17C% ls d:ascii203
> ascii203.prc
> mw1g017@MW1G17C% cygpath -a -u d:ascii203
> /cygdrive/d/scii203
>
> So, Cygwin is correctly accessing subdirectory of cwd, but cygpath seems to
> report wrong name.
>
> regards
>
> -andrej
>
> Have a nice DOS!
> B >>
>
> --
> Want to unsubscribe from this list?
> Send a message to cygwin-unsubscribe@sourceware.cygnus.com
--
Bob McGowan
Staff Software Quality Engineer
VERITAS Software
rmcgowan@veritas.com
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com