X-Recipient: archive-cygwin@delorie.com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 389EB3858D39
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
	s=default; t=1711227910;
	bh=1lU7C2UDQ3rk8CTVTw2PEV5glsLOLLgkDIBjaWYZnAg=;
	h=Date:To:Subject:References:In-Reply-To:List-Id:List-Unsubscribe:
	 List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc:
	 From;
	b=b/Dv0hRLfoLswwxnaNTS1/kvPlyP5uTrNwqGAkBdSv/AG9F7c1d4IlybIk0BNLt4Z
	 57CEk/IHb4gUabsLjOJrJ6Tj9QOjjgV08JW0dS2sJpD2xWmKXHPxZcWGRWVBcFJ300
	 6qZgYdFdFWDnFEwRzdWG1vmNNzveesSi7mFDUHzM=
X-Original-To: cygwin@cygwin.com
Delivered-To: cygwin@cygwin.com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 70BB13858D33
Date: Sat, 23 Mar 2024 22:04:49 +0100
To: cygwin@cygwin.com
Subject: Re: GetVersionEx() depreciated, what should be used instead for
 Windows 7/8/10?
Message-ID: <Zf9D8b8lqoSYDLtH@calimero.vinschen.de>
Mail-Followup-To: cygwin@cygwin.com
References: <b47b7092-716a-c626-a14d-e5847bc86926@t-online.de>
 <CANV9t=S2BJ2d-_zNm3ZgVeerQ+ZEONQ4fjN1MXc6JVp+Gvrxsg@mail.gmail.com>
 <CALwydEs5ZTYqSxfZOp_hWobWQxFEeLGio8WoUCwTAM2eaph_sA@mail.gmail.com>
 <CANV9t=QHLHyv_jvvrCREpyrEX=JqmTdQvnmfUXbSKuvMrhHn9A@mail.gmail.com>
 <Zfm7ZqZBdMBaoEOM@calimero.vinschen.de>
 <0d8daf74-2861-8b08-b47c-28cf5d3b991f@t-online.de>
 <ZfszwBeYDxxApO9v@calimero.vinschen.de>
 <538aa134-b079-12ec-76fe-5a60fc77c3ee@t-online.de>
 <ZfxPIbU5K_VgX5hZ@calimero.vinschen.de>
 <38b3f5df-ea63-8eb4-f0f9-4057c0eeae90@t-online.de>
MIME-Version: 1.0
Content-Disposition: inline
In-Reply-To: <38b3f5df-ea63-8eb4-f0f9-4057c0eeae90@t-online.de>
X-BeenThere: cygwin@cygwin.com
X-Mailman-Version: 2.1.30
Precedence: list
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-request@cygwin.com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=subscribe>
From: Corinna Vinschen via Cygwin <cygwin@cygwin.com>
Reply-To: cygwin@cygwin.com
Cc: Corinna Vinschen <corinna-cygwin@cygwin.com>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: cygwin-bounces+archive-cygwin=delorie.com@cygwin.com
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie.com@cygwin.com>

On Mar 23 10:57, Christian Franke via Cygwin wrote:
> On Mar 21 16:15, Corinna Vinschen via Cygwin wrote:
> > On Mar 21 09:58, Christian Franke via Cygwin wrote:
> > > > > ..
> > I just gave it a try on W11. The results are even more funny than I
> > anticipated:
> > 
> > ...
> > 
> > So, yeah, with your observations especially on older W10 versions and
> > with 8.1 doing the same thing, I guess we can safely drop the extra call
> > to RtlGetNtVersionNumbers now.
> 
> Or:
> Keep RtlGetVersionNumbers, compare result with RtlGetVersion and emit debug
> output if both differ. This would allow to diagnose a possible future
> reappearance of the issue.

Good idea! Do you want to create a patch?


Thanks,
Corinna

-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple
