ftp.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2020/08/15/14:46:18

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
X-Recipient: djgpp AT delorie DOT com
Date: Sat, 15 Aug 2020 21:41:42 +0300
Message-Id: <83wo1ziwex.fsf@gnu.org>
From: "Eli Zaretskii (eliz AT gnu DOT org) [via djgpp AT delorie DOT com]" <djgpp AT delorie DOT com>
To: djgpp AT delorie DOT com
In-Reply-To:
<CALPW7mSjUHyEefptCgD34HfB4RaG60untb-e4uK9Un9XmO2Abg AT mail DOT gmail DOT com>
(djgpp AT delorie DOT com)
Subject: Re: Symlinks with executable extensions (suffixes)
References: <CALPW7mSjUHyEefptCgD34HfB4RaG60untb-e4uK9Un9XmO2Abg AT mail DOT gmail DOT com>
Reply-To: djgpp AT delorie DOT com

> From: "A. Wik (awik32 AT gmail DOT com) [via djgpp AT delorie DOT com]" <djgpp AT delorie DOT com>
> Date: Sat, 15 Aug 2020 18:06:05 +0000
> 
> What can I do about DJGPP-symlinks getting accidentally executed (eg.
> by COMMAND.COM) as binary executables because they have .exe or .com
> extensions?  It can easily hang the machine.

Don't create symlinks with those extensions?

DJGPP already has an alternative mechanism for "links" to its
executables (via 'stubedit'), which avoids this problem.  Would it
solve the problem to use that alternative for links to executables?

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019