From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2155) id D10573858D33; Tue, 7 Feb 2023 21:50:40 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D10573858D33 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1675806640; bh=nlcaCsa16bSz/fFmpcce4Q01CESFNMp3WCAhKGKIR4o=; h=From:To:Subject:Date:From; b=gkXvLSc5MKlu82oWeGYzjc2/Shjqm+KzDPAfXxrb5xmD44Eh/pFI5d1OVFd5Sq2Tj TfMnlEGGTx+cCoUpSzCrYKG4SfA76mcu8UYdiVBV4Wj9UjyoUA/vkAEOPWK0PHuDza 29euhhqs+cCcMV784JUqWQod0gYSqKlSlDR0RCqw= Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable From: Corinna Vinschen To: cygwin-cvs@sourceware.org Subject: [newlib-cygwin/main] Cygwin: cygcheck: add latest product codes X-Act-Checkin: newlib-cygwin X-Git-Author: Corinna Vinschen X-Git-Refname: refs/heads/main X-Git-Oldrev: 23e49b18ce39bff5693a6dc8edbacfa59df79dab X-Git-Newrev: 013ccc0686131aa835f1364ea7ca9d07066e03e6 Message-Id: <20230207215040.D10573858D33@sourceware.org> Date: Tue, 7 Feb 2023 21:50:40 +0000 (GMT) List-Id: https://sourceware.org/git/gitweb.cgi?p=3Dnewlib-cygwin.git;h=3D013ccc06861= 31aa835f1364ea7ca9d07066e03e6 commit 013ccc0686131aa835f1364ea7ca9d07066e03e6 Author: Corinna Vinschen AuthorDate: Tue Feb 7 22:19:33 2023 +0100 Commit: Corinna Vinschen CommitDate: Tue Feb 7 22:21:05 2023 +0100 Cygwin: cygcheck: add latest product codes =20 Signed-off-by: Corinna Vinschen Diff: --- winsup/utils/mingw/cygcheck.cc | 72 ++++++++++++++++++++++++++++++++++++++= ---- 1 file changed, 65 insertions(+), 7 deletions(-) diff --git a/winsup/utils/mingw/cygcheck.cc b/winsup/utils/mingw/cygcheck.cc index 7ac19afe5d2f..1ed4fdc6f360 100644 --- a/winsup/utils/mingw/cygcheck.cc +++ b/winsup/utils/mingw/cygcheck.cc @@ -1580,25 +1580,83 @@ dump_sysinfo () /* 0x00000074 */ "", /* 0x00000075 */ "", /* 0x00000076 */ "", - /* 0x00000077 */ "", + /* 0x00000077 */ " Team", /* 0x00000078 */ "", /* 0x00000079 */ " Education", /* 0x0000007a */ " Education N", /* 0x0000007b */ "", /* 0x0000007c */ "", - /* 0x0000007d */ "", - /* 0x0000007e */ "", + /* 0x0000007d */ " Enterprise 2015 LTSB", + /* 0x0000007e */ " Enterprise 2015 LTSB N", /* 0x0000007f */ "", /* 0x00000080 */ "", - /* 0x00000081 */ "", - /* 0x00000082 */ "", - /* 0x00000083 */ "", + /* 0x00000081 */ " Enterprise 2015 LTSB Evaluation", + /* 0x00000082 */ " Enterprise 2015 LTSB N Evaluation", + /* 0x00000083 */ " IoT Core Commercial", /* 0x00000084 */ "", /* 0x00000085 */ " Mobile Enterprise", + /* 0x00000086 */ "", + /* 0x00000087 */ "", + /* 0x00000088 */ "", + /* 0x00000089 */ "", + /* 0x0000008a */ "", + /* 0x0000008b */ "", + /* 0x0000008c */ "", + /* 0x0000008d */ "", + /* 0x0000008e */ "", + /* 0x0000008f */ "", + /* 0x00000090 */ "", + /* 0x00000091 */ " Server Datacenter, Semi-Annual Channel (core installat= ion)", + /* 0x00000092 */ " Server Standard, Semi-Annual Channel (core installatio= n)", + /* 0x00000093 */ "", + /* 0x00000094 */ "", + /* 0x00000095 */ "", + /* 0x00000096 */ "", + /* 0x00000097 */ "", + /* 0x00000098 */ "", + /* 0x00000099 */ "", + /* 0x0000009a */ "", + /* 0x0000009b */ "", + /* 0x0000009c */ "", + /* 0x0000009d */ "", + /* 0x0000009e */ "", + /* 0x0000009f */ "", + /* 0x000000a0 */ "", + /* 0x000000a1 */ " Pro for Workstations", + /* 0x000000a2 */ " Pro for Workstations N", + /* 0x000000a3 */ "", + /* 0x000000a4 */ " Pro Education", + /* 0x000000a5 */ "", + /* 0x000000a6 */ "", + /* 0x000000a7 */ "", + /* 0x000000a8 */ "", + /* 0x000000a9 */ "", + /* 0x000000aa */ "", + /* 0x000000ab */ "", + /* 0x000000ac */ "", + /* 0x000000ad */ "", + /* 0x000000ae */ "", + /* 0x000000af */ " Enterprise for Virtual Desktops", + /* 0x000000b0 */ "", + /* 0x000000b1 */ "", + /* 0x000000b2 */ "", + /* 0x000000b3 */ "", + /* 0x000000b4 */ "", + /* 0x000000b5 */ "", + /* 0x000000b6 */ "", + /* 0x000000b7 */ "", + /* 0x000000b8 */ "", + /* 0x000000b9 */ "", + /* 0x000000ba */ "", + /* 0x000000bb */ "", + /* 0x000000bc */ " IoT Enterprise", + /* 0x000000bd */ "", + /* 0x000000be */ "", + /* 0x000000bf */ " IoT Enterprise LTSC", }; if (prod =3D=3D PRODUCT_UNLICENSED) strcat (osname, "Unlicensed"); - else if (prod > 0x00000085) + else if (prod > 0x000000bf) strcat (osname, ""); else strcat (osname, products[prod]);