X-Recipient: archive-cygwin AT delorie DOT 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 AT cygwin DOT com; run by ezmlm List-Id: 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 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 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 DOT 14356 DOT YahooMailNeo AT web125203 DOT mail DOT ne1 DOT yahoo DOT com> <20131119100343 DOT GA27525 AT calimero DOT vinschen DOT de> <528B93E6 DOT 3030802 AT etr-usa DOT com> <20131119171330 DOT GF2936 AT calimero DOT vinschen DOT 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