]> Cypherpunks repositories - gostls13.git/commit
internal/syscall/windows/registry: append .dll when loading kernel32
authorqmuntal <quimmuntal@gmail.com>
Wed, 6 Mar 2024 13:43:13 +0000 (14:43 +0100)
committerQuim Muntal <quimmuntal@gmail.com>
Wed, 6 Mar 2024 19:19:00 +0000 (19:19 +0000)
commit911b066bf87980099b52ad0ee93fed1f13fdc813
tree55e530eb90557ef5cf380fd584be6231162e0897
parente2459e627f1a06bf035ded92b5170fd20d17ca22
internal/syscall/windows/registry: append .dll when loading kernel32

Win32 LoadLibrary supports loading a DLL omitting the .dll extension,
but it is better to be explicit and include the extension. This is
consistent with all other uses of LoadLibrary in the Go standard
library.

Change-Id: I7349d0a27db5f8ab59061434f37d10918e43b869
Reviewed-on: https://go-review.googlesource.com/c/go/+/569535
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
Reviewed-by: Bryan Mills <bcmills@google.com>
src/internal/syscall/windows/registry/registry_test.go