From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2155) id 70BB13858D33; Sat, 23 Mar 2024 21:04:51 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 70BB13858D33 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1711227891; bh=mIUT6HAOpDvApla3hUJChRTqUtlFIscExzEIEdPN+oM=; h=Date:From:To:Subject:Reply-To:References:In-Reply-To:From; b=LS9KocyVJRA4qEZ9yEYAFJ98F7a5Y2oZMQuQIHkDK6+rfa8Ly/fkmcxgcC+GQ/NVy rWk1SmmROS5r/9LWzu7sxMNgz6azX04imf7G/h16dIgVTwxoC1AzsL447RBFVwkp0X ZPGLzYEhWvEVWtRaBfiagMMEJoOPWeMsoZVuU75g= Received: by calimero.vinschen.de (Postfix, from userid 500) id AB726A80D19; Sat, 23 Mar 2024 22:04:49 +0100 (CET) Date: Sat, 23 Mar 2024 22:04:49 +0100 From: Corinna Vinschen To: cygwin@cygwin.com Subject: Re: GetVersionEx() depreciated, what should be used instead for Windows 7/8/10? Message-ID: Reply-To: cygwin@cygwin.com Mail-Followup-To: cygwin@cygwin.com References: <0d8daf74-2861-8b08-b47c-28cf5d3b991f@t-online.de> <538aa134-b079-12ec-76fe-5a60fc77c3ee@t-online.de> <38b3f5df-ea63-8eb4-f0f9-4057c0eeae90@t-online.de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <38b3f5df-ea63-8eb4-f0f9-4057c0eeae90@t-online.de> List-Id: 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