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]

Treatment of x:path again


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.

-andrej

Have a nice DOS!
B >>


--
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]