Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Date: Wed, 20 Jul 2005 10:40:51 -0400
From: Christopher Faylor <cgf-no-personal-reply-please@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: .exe magic doesn't work with gprof
Message-ID: <20050720144051.GA4134@trixie.casa.cgf.cx>
Reply-To: cygwin@cygwin.com
References: <dbkpm1$oaf$1@sea.gmane.org> <SERRANOf0YwXtNfsSJY00000625@SERRANO.CAM.ARTIMI.COM> <dbllm5$6gn$1@sea.gmane.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <dbllm5$6gn$1@sea.gmane.org>
User-Agent: Mutt/1.5.8i

On Wed, Jul 20, 2005 at 04:04:54PM +0200, Krzysztof Duleba wrote:
>But how does gprof know that foo doesn't exist? It has to open or stat it. 
>I thought that both open and stat calls support exe magic.

Sorry.  That's not how it works.  The only "exe magic" in the cygwin DLL
is in the stat call.

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/

