delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1999/03/01/04:21:09

Date: Mon, 1 Mar 1999 11:15:38 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: "Mark E." <snowball3 AT usa DOT net>
cc: djgpp-workers AT delorie DOT com
Subject: Re: bash binary uploaded Feb. 18th
In-Reply-To: <199902281957.TAA34614@out5.ibm.net>
Message-ID: <Pine.SUN.3.91.990301111514.2578B-100000@is>
MIME-Version: 1.0
Reply-To: djgpp-workers AT delorie DOT com

On Sun, 28 Feb 1999, Mark E. wrote:

> > I found a strange problem with this version.  Suppose you have a
> > directory with two files: foo.site and foo.bat.  Now, if I chdir into that
> > directory and type "./foo.site", I actually see `foo.bat' being run!  It's
> > almost as if Bash were stripping the extension and then looking for the
> > executable without the extension.
> 
> That's exactly what it does when LFN=N.

I wonder why.  FWIW, Bash 1.14.7 doesn't have this problem.

> The workaround (assuming Win 9x) until I can post another update is
> to make sure LFN=Y.

Sorry, can't use that workaround: I need this to work in plain DOS.

- Raw text -


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