delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2024/03/24/10:43:37

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 4EC4B3858404
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1711291415;
bh=ejBFxiHNtX2wcTEyLyCi1irTGYlR9FjrivD04Z85E3M=;
h=Subject:To:References:Date:In-Reply-To:List-Id:List-Unsubscribe:
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:
From;
b=kl08fc/qlc813VC44wiFgoq+orblO2MadMWmAFsdpBAK+Zq4n/CChyHdsC/dagmdo
FfDXdPoMRSOSMP9UEBkOMhmUeVBPXL20XuSkiEtXfWOJ0JKkQUl2dCtS11iQ2R1C8g
GK4OMemIHgBqhhW2ycKG1zu1VWQCfqsdM8g/lab0=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 8D5D43858D33
ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 8D5D43858D33
ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1711291367; cv=none;
b=vuiQJW7flRD57owj2XkBK2Zv9kp00YX1qqe+shPZxpm4LziOfwxMflFa+05SJu6OOT0h7HtCMaMhoSI2c5Ak+rGOwT2zJUEohjBfxccsmM0zb447onedYcSEerFFIgjuETGSIdOiXdx2Qn9oMwmCSZtE2QRwZ+i/F3ptIVgMiPI=
ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key;
t=1711291367; c=relaxed/simple;
bh=Iwd45qo29keRe9e51TDJgfMgBW5spNwYmkyb/RxUlk4=;
h=Subject:To:From:Message-ID:Date:MIME-Version;
b=XWaS/zIl7k24pD5oIuLkVEjsTresympkIyqb4PiG1mVL2LP+yPQzU5ogdNtFdFB65jGt9HyIG4Z+nxJghtcgO40U9eIB62zIWuS+KYFgzff89GuX1+L/CvF5cX34h1+UdTGMajhmNjybMG6gwFcn8llLa06I+p/PKM7PXQ5cusE=
ARC-Authentication-Results: i=1; server2.sourceware.org
Subject: Re: GetVersionEx() depreciated, what should be used instead for
Windows 7/8/10?
To: cygwin AT cygwin DOT com
References: <b47b7092-716a-c626-a14d-e5847bc86926 AT t-online DOT de>
<CANV9t=S2BJ2d-_zNm3ZgVeerQ+ZEONQ4fjN1MXc6JVp+Gvrxsg AT mail DOT gmail DOT com>
<CALwydEs5ZTYqSxfZOp_hWobWQxFEeLGio8WoUCwTAM2eaph_sA AT mail DOT gmail DOT com>
<CANV9t=QHLHyv_jvvrCREpyrEX=JqmTdQvnmfUXbSKuvMrhHn9A AT mail DOT gmail DOT com>
<Zfm7ZqZBdMBaoEOM AT calimero DOT vinschen DOT de>
<0d8daf74-2861-8b08-b47c-28cf5d3b991f AT t-online DOT de>
<ZfszwBeYDxxApO9v AT calimero DOT vinschen DOT de>
<538aa134-b079-12ec-76fe-5a60fc77c3ee AT t-online DOT de>
<ZfxPIbU5K_VgX5hZ AT calimero DOT vinschen DOT de>
<38b3f5df-ea63-8eb4-f0f9-4057c0eeae90 AT t-online DOT de>
<Zf9D8b8lqoSYDLtH AT calimero DOT vinschen DOT de>
Message-ID: <3bff55cd-f8f2-24a7-8955-8765590a3caf@t-online.de>
Date: Sun, 24 Mar 2024 15:42:36 +0100
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101
SeaMonkey/2.53.16
MIME-Version: 1.0
In-Reply-To: <Zf9D8b8lqoSYDLtH@calimero.vinschen.de>
X-TOI-EXPURGATEID: 150726::1711291358-2E7FBC95-EBB3E837/0/0 CLEAN NORMAL
X-TOI-MSGID: beca80ec-ef24-4126-a74a-49c4dd0ef80e
X-Spam-Status: No, score=-6.2 required=5.0 tests=BAYES_00, FREEMAIL_FROM,
KAM_DMARC_STATUS, NICE_REPLY_A, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,
SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.6
X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on
server2.sourceware.org
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.30
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: Christian Franke via Cygwin <cygwin AT cygwin DOT com>
Reply-To: Christian Franke <Christian DOT Franke AT t-online DOT de>
Errors-To: cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com>

Corinna Vinschen via Cygwin wrote:
> 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?
>

I tried, but without success. Unfortunately debug_printf() does not work 
because wincap.init() is called before get_cygwin_startup_info() which 
calls strace.activate().


-- 
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019