www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2001/06/28/13:37:16

Date: Thu, 28 Jun 2001 13:12:26 -0400
Message-Id: <200106281712.NAA11355@envy.delorie.com>
X-Authentication-Warning: envy.delorie.com: dj set sender to dj AT envy DOT delorie DOT com using -f
From: DJ Delorie <dj AT delorie DOT com>
To: eliz AT is DOT elta DOT co DOT il
CC: tim DOT van DOT holder AT pandora DOT be, djgpp-workers AT delorie DOT com,
snowball3 AT bigfoot DOT com
In-reply-to: <7263-Thu28Jun2001195324+0300-eliz@is.elta.co.il>
Subject: Re: bash 2.04 build failure?
References: <CAEGKOHJKAAFPKOCLHDIGEOGCEAA DOT tim DOT van DOT holder AT pandora DOT be> <7263-Thu28Jun2001195324+0300-eliz AT is DOT elta DOT co DOT il>
Reply-To: djgpp-workers AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp-workers AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

> DJ, what does the Cygwin port of Bash do?  Or, rather, what does the
> Cygwin DLL's routines do when Bash invokes them to run `foo'?  Do they
> search for extensions, and if so, for which ones?

If you directly spawn an executable, the search order is this:

.exe
<none>
.com
.cmd
.bat
.dll

It doesn't seem to check if the file already has a "suffix" but with
long file names, you can't just depend on the presence of a dot to
indicate a suffix.

- Raw text -


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