delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/10/22/16:54:28

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Wed, 22 Oct 2003 16:54:06 -0400
From: Christopher Faylor <cgf-rcm AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: cygwin performance
Message-ID: <20031022205406.GA26138@redhat.com>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <3F95B7DE DOT 90601 AT tlinx DOT org> <NGBBLLIAMFLGJEOAJCCEKEJNDFAA DOT garbage_collector AT telia DOT com> <20031022200202 DOT GA25720 AT redhat DOT com> <3F96EB86 DOT 5641E01D AT phumblet DOT no-ip DOT org>
Mime-Version: 1.0
In-Reply-To: <3F96EB86.5641E01D@phumblet.no-ip.org>
User-Agent: Mutt/1.4.1i

On Wed, Oct 22, 2003 at 04:41:42PM -0400, Pierre A. Humblet wrote:
>>Although, hmm.  I just tried this and bash still executed a file that
>>should be non-executable.  I'll have to see why.
>
>bash walks down the PATH looking for anything that matches the name.
>It remembers the first match but keeps walking until it finds an
>executable.  If no executable is found, it returns the first match, if
>any.  If it's a directory, too bad (a non-executable file can be masked
>by a directory).

Um, yeah but it shouldn't be able to execute a non-executable file.  It's
a (minor) cygwin problem.

cgf

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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