diff options
author | Johannes Schindelin <johannes.schindelin@gmx.de> | 2018-10-23 03:51:49 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-10-24 14:48:00 +0900 |
commit | c6f050a4349339f812cdc3131ce104057424f492 (patch) | |
tree | b96f4e292ffcbfd808dc4209c5a0dade4a49e8f6 /t/t4013/diff.format-patch_--attach_--stdout_initial..master^ | |
parent | Fifth batch for 2.20 (diff) | |
download | tgif-c6f050a4349339f812cdc3131ce104057424f492.tar.xz |
mingw: load system libraries the recommended way
When we access IPv6-related functions, we load the corresponding system
library using the `LoadLibrary()` function, which is not the recommended
way to load system libraries.
In practice, it does not make a difference: the `ws2_32.dll` library
containing the IPv6 functions is already loaded into memory, so
LoadLibrary() simply reuses the already-loaded library.
Still, recommended way is recommended way, so let's use that instead.
While at it, also adjust the code in contrib/ that loads system libraries.
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4013/diff.format-patch_--attach_--stdout_initial..master^')
0 files changed, 0 insertions, 0 deletions