delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/02/13/15:05:16

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Date: Tue, 13 Feb 2001 14:47:05 -0500
From: Christopher Faylor <cgf AT redhat DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Optimizing away "ReadFile" calls when Make calls stat()
Message-ID: <20010213144705.C12411@redhat.com>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <20010213183634 DOT 1435 DOT qmail AT lizard DOT curl DOT com> <4 DOT 3 DOT 1 DOT 2 DOT 20010213134821 DOT 019a7130 AT pop DOT ma DOT ultranet DOT com>
Mime-Version: 1.0
User-Agent: Mutt/1.3.11i
In-Reply-To: <4.3.1.2.20010213134821.019a7130@pop.ma.ultranet.com>; from lhall@rfk.com on Tue, Feb 13, 2001 at 01:51:50PM -0500

On Tue, Feb 13, 2001 at 01:51:50PM -0500, Larry Hall (RFK Partners, Inc) wrote:
>At 01:36 PM 2/13/2001, Jonathan Kamens wrote:
>>Please comment.
>
>
>
>I know this would only address half the problem but I wonder if it would make
>sense to cache the results of ReadFile() so that separate checks for symbolic
>links and executables would result in only 1 ReadFile() call.  This seems
>like a nice general optimization which wouldn't be so "gross"...

Actually, I wonder if just mounting the directory with the execute bit
set ("mount -x c:\bin /bin") would solve this.  It would cause every
file to be considered executable but it may bypass the ReadFile.

cgf

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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