From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7592 invoked by alias); 19 Nov 2013 18:23:45 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 7444 invoked by uid 89); 19 Nov 2013 18:23:44 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=1.2 required=5.0 tests=AWL,BAYES_50,RDNS_NONE,SPF_PASS autolearn=no version=3.3.2 X-HELO: out5-smtp.messagingengine.com Received: from Unknown (HELO out5-smtp.messagingengine.com) (66.111.4.29) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Tue, 19 Nov 2013 18:22:02 +0000 Received: from compute4.internal (compute4.nyi.mail.srv.osa [10.202.2.44]) by gateway1.nyi.mail.srv.osa (Postfix) with ESMTP id EA3E020EBD for ; Tue, 19 Nov 2013 13:21:50 -0500 (EST) Received: from frontend1 ([10.202.2.160]) by compute4.internal (MEProxy); Tue, 19 Nov 2013 13:21:52 -0500 Received: from [158.147.136.250] (unknown [158.147.136.250]) by mail.messagingengine.com (Postfix) with ESMTPA id 72F4CC00E83; Tue, 19 Nov 2013 13:21:50 -0500 (EST) Message-ID: <528BAC3D.9070506@cwilson.fastmail.fm> Date: Tue, 19 Nov 2013 18:23:00 -0000 From: Charles Wilson User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.1.0 MIME-Version: 1.0 To: The Cygwin Mailing List Subject: Re: cygcheck -svc segfaults on Windows 8.1 with cygwin64 References: <1384839303.14356.YahooMailNeo@web125203.mail.ne1.yahoo.com> <20131119100343.GA27525@calimero.vinschen.de> <528B93E6.3030802@etr-usa.com> <20131119171330.GF2936@calimero.vinschen.de> In-Reply-To: <20131119171330.GF2936@calimero.vinschen.de> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2013-11/txt/msg00344.txt.bz2 On 11/19/2013 12:13 PM, Corinna Vinschen wrote: > Why do they have to make such a mess out of a simple function like > GetVersionEx? It returns different OS version numbers based on the > existence of a manifest in the executable. How dense is that? > > So we have thousands of executables, none of them has a 8.1 manifest. > As a result, the uname() function returns OS versions 6.2 rather than > 6.3. Aaaaaargh. > > In cygcheck I added a patch to check dwBuildNumber this morning. If > it's >= 9200, it's 8.1/2012R2, otherwise 8/2012. But that doesn't > fix the OS version number of course. Sigh. > > I'm going to tweak the OS version number and I'll do the same in > Cygwin's uname function as well. Good grief. I suppose I need to add something similar to /usr/lib/csih/winProductName.exe... -- Chuck -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple