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: symlinks show .exe


2009/10/5 Vincent Rivière <vincent.riviere@freesbee.fr>:
> Do you agree this is a bug and it should be fixed ?

I've got nothing to do with the code, but I am an interested observer.

In my experience, it should be possible to create symlinks to any
arbitrary target, regardless of whether it actually exists or not.
Therefore, if I create a symlink to "/bin/ls" then I'd expect that to
be the content of the symlink - the automatic behaviour of rewriting
it to "/bin/ls.exe" is unexpected and therefore probably incorrect
according to some "standard" somewhere.

Perhaps the 'shortcut' of omitting the .exe extension is getting in
the way here - it's preventing unambiguous identification of the
symlink target.

But maybe I misunderstand the scope of symlinks and something
somewhere says the system can rewrite them to point at valid targets
if it wishes?

-- David.

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