X-Recipient: archive-cygwin@delorie.com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:message-id:date:from:mime-version:to:subject
	:references:in-reply-to:content-type:content-transfer-encoding;
	 q=dns; s=default; b=iJPRnxbVjBSLsBLuDjb+QJzxnKM62xrjNS5Ql/QNueA
	quDWJ8Gi+6Wnf1QA9xVBhweMinVyEwhCH4hiaGFuzbbCVbMwi5fVxgEdVVyuI1jk
	ffbJdc6wyS8HPWDJVFw70clB9V2uWEEKr3mdHeDh/I1EH8GwxF1ak1EABsqvwI3o
	=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:message-id:date:from:mime-version:to:subject
	:references:in-reply-to:content-type:content-transfer-encoding;
	 s=default; bh=sXqg2SKYlw/pu3t4lKMdQ+77rWs=; b=ZDCHEiX6jRwBThn17
	QEIziy1hxOx/Z616lnRlrgrU9VlKykE+KDEweHKPYgo6xdmv4kcLzJ5lJxfL5Vfq
	GZZvSOQOiIZhPT4q/mThB338vQ8Uyms1EhAjOUYOyJka59YLN90lPWh8iGlBHAkW
	gzgHwq0S2YO6xkCT6cqXCLaFmY=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
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
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
Message-ID: <528BAC3D.9070506@cwilson.fastmail.fm>
Date: Tue, 19 Nov 2013 13:21:49 -0500
From: Charles Wilson <cygwin@cwilson.fastmail.fm>
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 <cygwin@cygwin.com>
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

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

