Subject: Re: Posible bug in cygpath Windows -> Unix conversion
From: Bob McGowan <[email-masked]>
To: Andrej Borsenkow <[email-masked]>
Cc: Cygwin mailing list <[email-masked]>
Date: Mon, 09 Oct 2000 10:54:20 -0700

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 [email-masked]

-- 
Bob McGowan
Staff Software Quality Engineer
VERITAS Software
[email-masked]

--
Want to unsubscribe from this list?
Send a message to [email-masked]