delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1999/02/28/08:27:36

Date: Sun, 28 Feb 1999 15:25:59 +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: <199902191908.TAA46318@out1.ibm.net>
Message-ID: <Pine.SUN.3.91.990228152537.5950t-100000@is>
MIME-Version: 1.0
Reply-To: djgpp-workers AT delorie DOT com

On Fri, 19 Feb 1999, Mark E. wrote:

> I've uploaded a new binary that fixes the problem of Bash crashing 
> when PATH_SEPARATOR=: .

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.

This is from a real-life case: the DJGPP build procedures for some GNU
packages use a special config.site file to load some DJGPP-specific
definitions, so this problem precludes me from building those
packages, since there's also a config.bat file in that directory.

- Raw text -


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