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


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to Corinna Vinschen on 10/4/2009 2:19 PM:
> The Cygwin symlink(2) call does not add the .exe suffix, neither in
> Cygwin 1.5, nor in Cygwin 1.7.  It looks like a feature of the ln(1)
> tool from the Cygwin 1.5 coreutils, AFAICS.

Yes, the 1.5 ln(1) had some .exe magic, because cygwin1.dll 1.5 did not
always handle symlinks gracefully if the .exe was not present.

>  ln(1) from the Cygwin 1.7
> coreutils does also not add a .exe suffix.

Probably because cygwin 1.7 handles .exe better.  I disabled some of the
.exe magic when porting coreutils to 1.7 (perhaps too much, though, based
on reports of cp not doing enough .exe magic).

- --
Don't work too hard, make some time for fun as well!

Eric Blake             ebb9@byu.net
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkrJMXUACgkQ84KuGfSFAYDENwCfUk3RH5F38TtizL1Roo5Ygxkp
aIsAniyJ79iLbAHHPXpImJQ06kq9lDVE
=Q8L1
-----END PGP SIGNATURE-----

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