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=FysMSGokAfNJm5LVOp6NDbCoKhDl4r83MbwOXYgThZlPvhud48k8n 7OzzKEOtuFc49HWCcxFc1hWiZCCOL6T6krCV6qsznL7pr7sQ6JDwY0hN2Yscle9c 18Bro7vSPTcPcrslphLQ3OZLu2O9hKN6qAb+yCJP1Mkm2ClqM4Cw38= 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=FixCU00o8JeWnJiUBQh/GAiPbF8=; b=emoUiqVzol0FtNHJNFBRLiG5DhME Ob7On4Il7srXShr8otVSBW6BYrovQcs9GEmVnPZWMImbXDiwnP9hS7a1vz/tFa8v iZ8F0pVtXuFOjnNP2zTCLLDK7IlWCLuEVNWP731+FvxPNdlLd/x4xLXucB/jmnKZ hVJoh0S6fjyMCoQ= 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.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 21:36:36 +0100 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: cygcheck -svc segfaults on Windows 8.1 with cygwin64 Message-ID: <20131119203636.GI2936@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> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="0XhtP95kHFp3KGBe" Content-Disposition: inline In-Reply-To: <20131119202958.GH2936@calimero.vinschen.de> User-Agent: Mutt/1.5.21 (2010-09-15) --0XhtP95kHFp3KGBe Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Nov 19 21:29, Corinna Vinschen wrote: > On Nov 19 14:20, Larry Hall (Cygwin) wrote: > > On 11/19/2013 2:03 PM, Corinna Vinschen wrote: > > >On Nov 19 13:21, Charles Wilson wrote: > > >>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 >=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. > > >> > > >>Good grief. I suppose I need to add something similar to > > >>/usr/lib/csih/winProductName.exe... > > > > > >Looks like it, yes. What on earth were they thinking? > >=20 > > Who says they were thinking? ;-) >=20 > Point. >=20 > I found what happened: > http://msdn.microsoft.com/en-us/library/windows/desktop/dn302074%28v=3Dvs= .85%29.aspx >=20 > Given that we are unable to provide and change manifests on the fly for > thousands of executables, we will have to hack our way along in future > because all upcoming versions of Windows will return a wrong OS version > number. >=20 > Why isn't there at least an additional non-manifest way to claim > compatibility with the current OS? :( Oh, and it's worse than I thought. dwBuildNumber 9200 is the Windows 8 build number, so my workaround doesn't work and the entire version information will be stuck at Windows 8 for the forseeable future, unless somebody knows a workaround for this manifest mess. Corinna --=20 Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat --0XhtP95kHFp3KGBe Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.15 (GNU/Linux) iQIcBAEBAgAGBQJSi8vUAAoJEPU2Bp2uRE+gq7kP/3B7vhwKh7DDNVKtKnW1LvX/ sOs5Kfl0+QMpW1+FI2/r1KIPSxNkFWPd3H7v/mIuQsvibJ3U40JwSng/zGSu27VN UUvOeIAb+ONiwDW7zEAoRWz/TP1lDDbPY5MosWDX+2jRgUHFngM4cKV35Q64M9Uf 7NXWtzxg9m6LMlBlZGsVQ1eHYo5d8Fe63kRzHDUk4qVcIoP9XAGsWpTqTmioPDMz /dcj2q8QwUNeEFqK16Bx+z8rdobQxajuYhY59O5wKQUXDuhWtVwNWnmNFr77OIHR HhaxVpkbqI9FJgW8ToYJwndmgAjqMJoho0rR8NB3EJ3bGLa9KMObq6gFmjg1JbdN 7tEaNRi7nTTvAUpyMUFEsKaLa3iOeV/TKC8ENnG0HHwEJlStLP2VlAyHhHiKP77Q lxpqTbBfKCtjM/PIhuzDPdfi/MZ/Cek6SRFil8TVAmLQaOnkRogsJ3DRFA5g6mqZ PeXEZlmke2iJx5Lw5f3LpU4x/w+nwHulJyDLtevNbEsiPbxwkuge/8bJlrQl1n4g 9RpWLqmesKUCptH5jm3AEqX9UWFl8B1MhPF890bqc++jok+1ldMjAmaKfBDdXUJ+ KUp6ORmdOqNyLFB+Cr4HoWP2LoLZSXklMG/qdme714HZ9zYV8KuKuSO7S0i7iP6y j+7NpuYLzPN/5/PC8nXK =Rsyw -----END PGP SIGNATURE----- --0XhtP95kHFp3KGBe--