Posible bug in cygpath Windows -> Unix conversion
Bob McGowan
rmcgowan@veritas.com
Mon Oct 9 11:03:00 GMT 2000
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
More information about the Cygwin
mailing list