Regression in 1.5.14 cygpath
Eric Blake
ericblake@comcast.net
Mon Apr 4 14:14:00 GMT 2005
Cygpath no longer chases cygwin symlinks in the middle of a path when I upgrade to cygwin 1.5.14. This is a regression, causing Windows programs that are fed the output of `cygpath -w' to choke with no such file.
$ uname -a
CYGWIN_NT-5.0 eblake 1.5.13(0.122/4/2) 2005-03-01 11:01 i686 unknown unknown Cygwin
$ ln -s '/cygdrive/c/Documents and Settings/eblake/Desktop' ~/desktop
$ mkdir ~/desktop/release
$ cygpath -w ~ ~/desktop ~/desktop/release
C:\cygwin\home\eblake
c:\Documents and Settings\eblake\Desktop
c:\Documents and Settings\eblake\Desktop\release
$
[Upgrade...]
$ uname -a
CYGWIN_NT-5.0 eblake 1.5.14(0.126/4/2) 2005-04-01 13:40 i686 unknown unknown Cygwin
$ cygpath -w ~ ~/desktop ~/desktop/release
C:\cygwin\home\eblake
c:\Documents and Settings\eblake\Desktop
C:\cygwin\home\eblake\desktop\release
$
To be useful, cygpath must fully resolve a pathname, not just the last component.
--
Eric Blake
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
More information about the Cygwin
mailing list