upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/runtime/shims/registry.cpp
diff options
context:
space:
mode:
authorDadaCap <167002618+DadaCap@users.noreply.github.com>2026-11-24 21:09:02 +0100
committerDadaCap <167002618+DadaCap@users.noreply.github.com>2026-11-24 21:09:02 +0100
commitbc245e5046124941bbdc7bb5c3bd7c739da4e03e (patch)
tree5b780fbcbc1dd131ee635980dfe3e996ac72928f /runtime/shims/registry.cpp
parent30450e0e96e1df700bbfa9505433c9b9940e8694 (diff)
parent58be9cdf8df9a31bc7f6c068991f1aed381f7f4d (diff)
Merge remote-tracking branch 'origin/main' into vcc-tuple-resync
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'runtime/shims/registry.cpp')
-rw-r--r--runtime/shims/registry.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/runtime/shims/registry.cpp b/runtime/shims/registry.cpp
index 6ec36e31c..f041df89f 100644
--- a/runtime/shims/registry.cpp
+++ b/runtime/shims/registry.cpp
@@ -494,7 +494,8 @@ void* find(const std::string& dll_lower, const std::string& name) {
494 494
495bool owns_dll(const std::string& dll_lower) { 495bool owns_dll(const std::string& dll_lower) {
496 static const char* const host[] = {"kernel32.dll", "kernelbase.dll", "msvcrt.dll", "ucrtbase.dll", "ucrtbased.dll", 496 static const char* const host[] = {"kernel32.dll", "kernelbase.dll", "msvcrt.dll", "ucrtbase.dll", "ucrtbased.dll",
497 "vulkan-1.dll", "ntdll.dll", "user32.dll"}; 497 "vulkan-1.dll", "ntdll.dll", "user32.dll", "ws2_32.dll",
498 "wsock32.dll"};
498 if (starts_with(dll_lower, "api-ms-") || starts_with(dll_lower, "ext-ms-")) return false; 499 if (starts_with(dll_lower, "api-ms-") || starts_with(dll_lower, "ext-ms-")) return false;
499 for (const char* h : host) 500 for (const char* h : host)
500 if (dll_lower == h) return false; 501 if (dll_lower == h) return false;