This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Regression in 1.5.14 cygpath
- From: ericblake at comcast dot net (Eric Blake)
- To: cygwin at cygwin dot com
- Date: Mon, 04 Apr 2005 14:14:08 +0000
- Subject: Regression in 1.5.14 cygpath
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/