X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Date: Mon, 8 Jun 2009 19:14:54 +0200 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: [1.7] Cannot read /proc/stat Message-ID: <20090608171454.GA25642@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <4A2D3C62 DOT 40408 AT users DOT sourceforge DOT net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4A2D3C62.40408@users.sourceforge.net> User-Agent: Mutt/1.5.19 (2009-02-20) 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 Jun 8 11:29, Yaakov S wrote: > Running 1.7.0-48 on Windows 7 RC (x64), 'cat /proc/stat' shows nothing > but exits 0. Other /proc files are fine. cygcheck output attached. Confirmed. The reason is that a datastructure on the NT level has another size on 64 bit systems, and the WOW64 layer doesn't translate the structure into the 32 bit format. The function is unsupported, so that makes sort of sense. I'll create another solution using the official function for to fetch that information. Unfortunaltey it doesn't exist on NT4, so I have to sp3cial case that(*) Thanks for the report, Corinna (*) Is anybody here actually still using NT4? -- 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/