delorie.com/archives/browse.cgi | search |
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:date:from:to:subject:message-id:reply-to | |
:references:mime-version:content-type:in-reply-to; q=dns; s= | |
default; b=D+uU0WFVu0SmAL67YtTG2N4hbWuotuOAUcFzcCtSLt97NJmpOtrsQ | |
727HY4Fvvc4iLPfFq/vwOqgtE0QNxwlMzlbl2Kjp/opnsvz0V6L7R+QucTwIzKAu | |
U6Pgh4bxSy9w+c9ECHD01RFoCY6Pykroco5d7k616VaX0qDvqWxR+o= | |
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:date:from:to:subject:message-id:reply-to | |
:references:mime-version:content-type:in-reply-to; s=default; | |
bh=T/w0GMcFfEDM4kT3ZJwcjq+8zKo=; b=XH/bhcv93yjTy05o1tNwCuhNuGOw | |
R3LdRbUKFdk+qYGx4pt2eLFc7dZI3Q777WwnhNH80im5jNMQZYVrTwgy+nCwx4X7 | |
ASpLnlolr4JK4Kvc4Qq2mYl0FEOQcJr3mKCJKVjEIfpQhVM2u/KUFNMmVc8W+kXu | |
dFIFGkUK2QJT6vk= | |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
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.3 required=5.0 tests=AWL,BAYES_50,RDNS_NONE,URIBL_BLOCKED autolearn=no version=3.3.2 |
X-HELO: | calimero.vinschen.de |
Date: | Tue, 19 Nov 2013 18:13:30 +0100 |
From: | Corinna Vinschen <corinna-cygwin AT cygwin DOT com> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: cygcheck -svc segfaults on Windows 8.1 with cygwin64 |
Message-ID: | <20131119171330.GF2936@calimero.vinschen.de> |
Reply-To: | cygwin AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
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> |
MIME-Version: | 1.0 |
In-Reply-To: | <528B93E6.3030802@etr-usa.com> |
User-Agent: | Mutt/1.5.21 (2010-09-15) |
--OZkY3AIuv2LYvjdk Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Nov 19 09:37, Warren Young wrote: > On 11/19/2013 03:03, Corinna Vinschen wrote: > > > >I'm also going > >to look for a solution to differ between Windows 8 and 8.1 (also 2012 > >vs. 2012R2) in the cygcheck output. >=20 > GetVersionEx() should do it: http://goo.gl/DbhsRJ >=20 > If you follow the link to the OSVERSIONINFO structure, you will find > a table that tells you how you distinguish those four cases. 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 >=3D 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. Thanks, Corinna --=20 Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat --OZkY3AIuv2LYvjdk Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.15 (GNU/Linux) iQIcBAEBAgAGBQJSi5w6AAoJEPU2Bp2uRE+gdYcP/3CGOTaA0Gvsz68wZTM6V4Qv PC/Mrfdu/pzp1qnKivv9+70U5bFZ0AjKaeonLfsK1DDLUHTVNNeJeCzJQQDfCl+A WMV0NgA8620Vm6Q8k2j1tccaBiMWkSSbV2p7sW+/wbfzTjP1pZBllx/Q4Hoyy3A3 cMOk78DnC7gQeH818Sizuq+iuzNzyjFey9CfVVlvRlSLW+QPa8sIuFySF+eGtK89 xyWf6V7ItMzs/7YUFPaOV4F0nyqVaO6BIjlhQlpzAgYEHPS4094pHcggYudnu8vZ +EdRKT1fYEjnoudMnfy8PrDewfwlSnuvTLYi26YHLKw233hSnVQ/t+/BBwzBHs3X Cjhf+Ge1mjlE3C2z1KCWGO6hTvfLwLDt5hmZnVpvyrOrwA9eJovT1spyKKuh+oJw HsaL8p5mZZqmjVw5O5NFgWglRJ6q75rfOhVqVjP2X+WXem0yKPgmMuSMCSGsKMyy 3jpPLjBj5/bHkCAboirorXf7H7enAxiOu3hGF6EuzbS121hkztj1f+CD2SHd25GD JvYy6ih2UNmjTElXTIbz2lFB+lb6u+lEU6nwQIi11NS3fsw6tlITuplnfwcuZYVJ NcQfYxDN+U+3prDxfiyCST7lpCRuw/e/AAcYk9W4FdjoxDdEG3Khipm3akZ58ie9 MlWcU4wjxThFJ4Rg1AOh =Dv3M -----END PGP SIGNATURE----- --OZkY3AIuv2LYvjdk--
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |