This is the mail archive of the cygwin 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]
Other format: [Raw text]

Re: 1.7 (an previous) ln bug


On Jul 15 15:56, Garber, Dave (GE Energy, Non-GE) wrote:
> Using winsymlinks, it seems that if you create a symbolic link to a
> non-existent file, the POSIX target gets set, but the Windows target
> does not.  The cygpath command will return a valid Windows path for the
> non-existent file, so that should be used for the Windows target value.

Cygwin does that, but it doesn't help.  The target filename part of a
Windows symlink is created by calling the IShellFolder::ParseDisplayName
function.  This function fails with an error code 0x80070002 if the
target file does not exist.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


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