Date: Sun, 30 Jan 2000 13:03:54 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: Turo Lamminen cc: djgpp AT delorie DOT com Subject: Re: Bug in Fileutils 3.16? In-Reply-To: <%vSk4.13$qZ4.870@read2.inet.fi> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com Errors-To: dj-admin AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Sun, 30 Jan 2000, Turo Lamminen wrote: > ln -s dummy.txt dummy2.txt > > It creates dummy2.txt.exe instead of dummy2.txt This is how it's supposed to work, because the ``symlink'' should still work if someone replaces dummy.txt with an executable program after creating the ``symlink''. The .exe extension is appended because stock DOS/Windows shells refuse to run a program unless it has such an extension. > Isn't this a bug? No, it's actually a feature. But it is not supposed to be used with text (or otherwise non-executable) files. If you use it with programs, this behavior should make a lot of sense, especially when Unix Makefile's or shell scripts call "ln -s".