This is the mail archive of the cygwin@sources.redhat.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Posible bug in cygpath Windows -> Unix conversion


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]