X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Date: Sun, 27 Apr 2008 18:13:00 +0200 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: Incorrect use of IsWow64Process in Cygwin sources Message-ID: <20080427161300.GV23852@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.16 (2007-06-09) Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com On Apr 27 12:16, Cesar Strauss wrote: > If I understood correctly, the "else" block is meant to be executed on 32 > bit systems, so that those flags are reset on Vista 32. > > But you are testing the return value of IsWow64Process, which is only an > indication that the function succeeded. [...] You're right. Thanks for catching this. I fixed it in CVS. Thanks again, Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat -- 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/