public inbox for cygwin-cvs@sourceware.org help / color / mirror / Atom feed
From: Corinna Vinschen <corinna@sourceware.org> To: cygwin-cvs@sourceware.org Subject: [newlib-cygwin/main] Cygwin: revert autoloading of DiscardVirtualMemory Date: Thu, 30 Nov 2023 21:39:54 +0000 (GMT) [thread overview] Message-ID: <20231130213954.E7CE9385C6E7@sourceware.org> (raw) https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=013de6b097feb94b58386a2a51c32ecab5e80db7 commit 013de6b097feb94b58386a2a51c32ecab5e80db7 Author: Corinna Vinschen <corinna@vinschen.de> AuthorDate: Thu Nov 30 21:14:48 2023 +0100 Commit: Corinna Vinschen <corinna@vinschen.de> CommitDate: Thu Nov 30 22:37:35 2023 +0100 Cygwin: revert autoloading of DiscardVirtualMemory Commit a3ae2a734892 ("Cygwin: don't autoload some kernel32 functions") erroneously removed DiscardVirtualMemory from the list of autloaded functions. DiscardVirtualMemory is not available on Windows 8.1. Fixes: a3ae2a734892 ("Cygwin: don't autoload some kernel32 functions") Signed-off-by: Corinna Vinschen <corinna@vinschen.de> Diff: --- winsup/cygwin/autoload.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/winsup/cygwin/autoload.cc b/winsup/cygwin/autoload.cc index c8909caff4b1..c1a124c1d120 100644 --- a/winsup/cygwin/autoload.cc +++ b/winsup/cygwin/autoload.cc @@ -465,6 +465,7 @@ LoadDLLfunc (GetUdpTable, iphlpapi) LoadDLLfunc (if_indextoname, iphlpapi) LoadDLLfunc (if_nametoindex, iphlpapi) +LoadDLLfuncEx2 (DiscardVirtualMemory, kernel32, 1, 127) LoadDLLfuncEx (ClosePseudoConsole, kernel32, 1) LoadDLLfuncEx (CreatePseudoConsole, kernel32, 1) LoadDLLfuncEx (IsWow64Process2, kernel32, 1)
reply other threads:[~2023-11-30 21:39 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20231130213954.E7CE9385C6E7@sourceware.org \ --to=corinna@sourceware.org \ --cc=cygwin-cvs@sourceware.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).