| 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=eBYs1tjcw1w3/5V/QoyvxuXS/SIrDfwawOnItq+DqqC2txqoO5ztn | |
| /48IoXKFfziTYuvt3cRIb7o5KkJVT5/xr1DU0FBg0BOs5f12gH21cLyWgvQ/RS/j | |
| b/kHQTVXIoKVgArmCWEByzywBQ0VSAinnwlF25JnZP4VB++/DdvXHg= | |
| 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=KqHcBFny/S6JYiVG7WV/obuzrbg=; b=EbvL67bVfNTOctsfVuCFQtZY59FO | |
| uHgeazW/NHDYcyO6O2FhTfkPcibln9qtlKJYELKfnwaNwTSVrSiA75qGKq9tWYx3 | |
| oGvqbuaLLGMfYs9A4hOqlZmXq+zKQ+VJ53U/kE/oMI7P2vcRxtpTjKlhcNCRNTkU | |
| dUwr1622+vZ2D00= | |
| 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=-5.9 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.2 |
| X-HELO: | calimero.vinschen.de |
| Date: | Sat, 28 Feb 2015 14:38:35 +0100 |
| From: | Corinna Vinschen <corinna-cygwin AT cygwin DOT com> |
| To: | cygwin AT cygwin DOT com |
| Subject: | Re: xlaunch small glitch |
| Message-ID: | <20150228133835.GX11124@calimero.vinschen.de> |
| Reply-To: | cygwin AT cygwin DOT com |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| References: | <652B2EF3-E52F-403C-8549-D2A16FCF1D27 AT Denis-Excoffier DOT org> |
| MIME-Version: | 1.0 |
| In-Reply-To: | <652B2EF3-E52F-403C-8549-D2A16FCF1D27@Denis-Excoffier.org> |
| User-Agent: | Mutt/1.5.23 (2014-03-12) |
--A+KtNVtgI4x4SWvL
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
On Feb 28 01:15, Denis Excoffier wrote:
> Hi,
>=20
> In the last xlaunch package, the etc/postinstall/xlaunch.sh reads:
>=20
> % cat /etc/postinstall/xlaunch.sh.done
> # add a start menu shortcut
> case $(uname -s) in *-WOW64) wow64=3D" (32-bit)" ;; esac
> /usr/bin/mkdir -p "$(/usr/bin/cygpath $CYGWINFORALL -P)/Cygwin-X${wow64}"
> /usr/bin/mkshortcut $CYGWINFORALL -P -i /usr/bin/xlaunch.exe -n "Cygwin-X=
${wow64}/XLaunch" -a "/usr/bin/bash.exe -l -c /usr/bin/xlaunch.exe" /usr/bi=
n/run.exe
>=20
> # add file association for opening and editing .xlaunch files
> /usr/share/xlaunch/setupreg.sh add
> %
>=20
>=20
> The "WOW64" on second line should be changed into "WOW*" (or equivalent) =
since now the W7 32bits are now called "CYGWIN_NT-6.1-WOW".
Just for your information: This change from WOW64 to WOW in the uname
sysname output was forced on us to account for the excessive version
bump in Windows 10.
Rather than bumping the kernel version to 6.4, which would have been the
right thing to do, the marketing guys at Microsoft had the brilliant
idea that the kernel version should finally be the same version as the
marketing name of the OS. And since they were wailing so much, the
developers caved in and made the bump.
So now we would have the sysname
CYGWIN_NT-10.0-WOW64
which has 20 characters, plus a trailing \0. The sysname char array has
a length of 20 characters, which is hard to change if we want to
maintain backward compatibility with existing tools like uname.
Therefore I shortened "WOW64" to "WOW". I would have loved to change
"CYGWIN_NT" to "CYGWIN" instead, but there are more scripts out in the
wild explicitely testing for this, than testing for "WOW64". I didn't
even know one of our own scripts is checking that.
Sorry Jon :}
And if you're wondering why I didn't just drop the ".0" from "10.0",
the reason is that I'm not confident there won't be a 10.x kernel
version in the future.
Corinna
--=20
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Maintainer cygwin AT cygwin DOT com
Red Hat
--A+KtNVtgI4x4SWvL
Content-Type: application/pgp-signature
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
iQIcBAEBAgAGBQJU8cTbAAoJEPU2Bp2uRE+g2nYP/R0e3n/VicNDLVjtkC3LZOAB
TyCq/3tbDIlXsADzh8XKPr3BeCanwebLFUCB6WBtYXZbwTY9ec//TlXOTbRy0McL
Rlc8slhA9DA1q0MIsjoQ38FZ8iVTrPPqWM7imMVXxflUwfSZiNxBfTykwwlg0U81
I8A5zaoYzHUDdRV4kyO9cPyBAW+m495ClNFFIXqEt0DhwZ2nVJf+CHTcbylYes02
zgWdEl2xF8X0pB7nZSyLN0Z6cVjCj0CmnTTkKd4DTDo6aa9glXQoiarKYshF6WUo
6sOjqV2G53fs/gff+OVdMFsavwIaCyI6r+YfBkRexLZ6Bl5e5PYqlmD0j998B4tp
Gzs6yq/WbJTinICG7Kr6bw0B9/TbxVZ2a0ZGmeP/ZilasklMTKyzjY95Z4FsyaMU
1D1Uiz/oH7ODPb2XVYdh8qpAfOr49QOF1dQsE9z9iLjsLi491IA/MTPb8xOyw6uZ
n0KV31ISmtcc8wZFsslIBkZLUDcocmdWYFTdTp1R6o2idydTNyxZCpgAOQy+mQKO
oOx8CM8v2eSNZlZICeNuHjif91A5PMJuGwztDYMMvSInyWUvL3WDLdqdqllH3550
o/C1gAxPQSAfYiouyq/ddVs0wQBi9dKrQggw0WTEtnTsUMUk+K2y4L7tMaD4vi/T
nEyVJQ35sGF0TJs28GBl
=sRXB
-----END PGP SIGNATURE-----
--A+KtNVtgI4x4SWvL--
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |