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=n2pSQCfV7H1HXWhnSlM4VDqXRDIpgoIykLcqXK0WtWYhmgT6YrGcy | |
eyNLQoYflP/KWZ9U4x4Y13RLLLJuA1gaB52ADkgfXsvk+uUFSAneMAqI1hRNQJxI | |
uG4fnSUI+Ce6SPB/lrQBlSFoVwCGdEukVvOauXwdDmFFsKR7vde+ZQ= | |
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=LMauiTvdYJPN6RrD7iYCvBFeKoU=; b=tTMEtO/whv1W8SNw9bjUg09HJeeW | |
F/F29l+syHLZYerI1l+XjWGZa6bfEaxyMGYvAUzmdfwuYNEGvcJpYoXw4NYTxcFF | |
ke4U1K6/oG29b27Uxw7N9hLtRn1t9NGtQn4gBWgg0F+5wg23sme1i+wVmDNzV/1s | |
SbnTq7h9MAf5dVA= | |
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 autolearn=no version=3.3.2 |
X-HELO: | calimero.vinschen.de |
Date: | Tue, 19 Nov 2013 23:34:07 +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: | <20131119223407.GK2936@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> <20131119171330 DOT GF2936 AT calimero DOT vinschen DOT de> <528BAC3D DOT 9070506 AT cwilson DOT fastmail DOT fm> <20131119190343 DOT GG2936 AT calimero DOT vinschen DOT de> <528BBA1A DOT 2080209 AT cygwin DOT com> <20131119202958 DOT GH2936 AT calimero DOT vinschen DOT de> <18727143 DOT 20131120005904 AT mtu-net DOT ru> <20131119215129 DOT GJ2936 AT calimero DOT vinschen DOT de> |
MIME-Version: | 1.0 |
In-Reply-To: | <20131119215129.GJ2936@calimero.vinschen.de> |
User-Agent: | Mutt/1.5.21 (2010-09-15) |
--5me2qT3T17SWzdxI Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Nov 19 22:51, Corinna Vinschen wrote: > On Nov 20 00:59, Andrey Repin wrote: > > Greetings, Corinna Vinschen! > >=20 > > > Why isn't there at least an additional non-manifest way to claim > > > compatibility with the current OS? :( > >=20 > > Because this "claim" is informational, or at least it should be. >=20 > But apparently it isn't. It's enforced. >=20 > However, I just had an in-shower inspiration and following up on it > I found a way to access the correct version info despite having no > 8.1 manifest. I'm still playing with it, but I think I have a working > patch by tomorrow. Patch checked in. It was pretty simple, actually. Rather than GetVersionEx from kernel32.dll, just call RtlGetVersion from ntdll.dll. It returns an OSVERSIONINFOEXW structure just as GetVersionExW, but it's not tweaked according to the executable manifest, so the returned info reflects the actual OS info. Corinna --=20 Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat --5me2qT3T17SWzdxI Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.15 (GNU/Linux) iQIcBAEBAgAGBQJSi+dfAAoJEPU2Bp2uRE+gvL8P/A2+mZZV/q70+cLhh1Rbl6Fl Z7bBnYrWwODF9okRhBrI/Dc8gCqHOnv7ObW3Q4cI5mftyaRLQkKEwt0aDCy088Lv rsgj6P13x57wnJ1bHTa3gEPPMXWGpk6QGRisHmr3bL8iUmdRXfdz6Nqd2w5vrwd0 aOjfGSnz/sWo26SzvUR89o1kppqUZsvztEq4Gmze/GM0jnn9FVf2s20htR8VDM62 8MWPNQhZewrhoQIUGH12zfndOixjD2eckFoZSRK1hDhVp4kATRCkPccHXOj1yAT/ /49IPPaESx1oahLEf3Lr0WDTt0QTH9kXQPHGrmGTEVXzytfAIid6zyEtJwehD7rg pyB0FLt/uzi4rrqnh+1C5wMg4X/4BBuNWfW6K8rAQM1pByWDYbnhZabYM0Si5WZ3 3S6OamOR8zghL/sxIUtM2ZrlTZaFKLFMh94JjnbqxwA+s3udZIugtopL1HOxKpPE Th8RotS5F1W2yGQIKs8S0SgJ5OhlJEknNM+NK2Q+y6aU4DQKx8NUWiOhdqXdYqFb ozpir2dL22O8EzJEkAsOLxlpxPpjPRYaP7N7ugaab7pTQ7aJwwrVrxfGFOd3REsp hbecQkh4gqf6nrfRd5Jxp9UmFGROsoRmBLNAC4Hc+QM6SoUlTSXAROQNxF3KDEIc UIl3HBLD2sSYRNfe9jl/ =mnhx -----END PGP SIGNATURE----- --5me2qT3T17SWzdxI--
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |