ln -s exe magic (coreutils 6.7-2)

Christopher Layne clayne@anodized.com
Wed Jan 24 04:37:00 GMT 2007

On Tue, Jan 23, 2007 at 06:07:17PM -0500, Pierre A. Humblet wrote:
> /usr/sbin: ls -l sendmail*
> lrwxrwxrwx 1 p-humblet sw 13 Jan 23 17:40 sendmail -> /usr/bin/exim*
> lrwxrwxrwx 1 p-humblet sw 19 Jan 23 17:29 sendmail.exe -> /usr/sbin/ssmtp.exe*
> so that the commands "sendmail" and "sendmail.exe" produce different results,
> cron keeps using exim and if  exim is uninstalled then cron misbehaves.
> My suggestion is that by default ln -s should not do any magic. If some magic is
> desired, users can define an alias or shell function that adds --enable-exe-magic
> Pierre

Probably just an oversight (in regards to symlinks) in the code handling .exe
vs extentionless executables. It's there to allow both options for an executable to
be named. I'm sure Corinna or Christopher will know what the deal is.


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