git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH 0/1] Load system libraries the recommended way on Windows

From
Johannes Schindelin via GitGitGadget <gitgitgadget@gmail.com>
Date
Oct 23, 2018, 10:51 UTC
Message-ID
<pull.55.git.gitgitgadget@gmail.com>

The search order for DLLs on Windows is a bit funny, and for system libraries, it is recommended to use a strict search path.

In practice, this should not make a difference, as the library has been loaded into memory already, and therefore the LoadLibrary() call would just return the handle instead of loading the library again.

Johannes Schindelin (1):
  mingw: load system libraries the recommended way
 compat/mingw.c                                      | 3 ++-
 contrib/credential/wincred/git-credential-wincred.c | 3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)
base-commit: c4df23f7927d8d00e666a3c8d1b3375f1dc8a3c1
Published-As: https://github.com/gitgitgadget/git/releases/tags/pr-55%2Fdscho%2Fmingw-load-sys-dll-v1
Fetch-It-Via: git fetch https://github.com/gitgitgadget/git pr-55/dscho/mingw-load-sys-dll-v1
Pull-Request: https://github.com/gitgitgadget/git/pull/55
-- 
gitgitgadget
Next: Johannes Schindelin via GitGitGadget
Message 1 of 2 in “Load system libraries the recommended way on Windows”
  1. 0/1 Load system libraries the recommended way on WindowsJohannes Schindelin via GitGitGadget, Oct 23, 2018
  2. 1/1 mingw: load system libraries the recommended wayJohannes Schindelin via GitGitGadget, Oct 23, 2018

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.