[Bug 52763] ConEmu doesn't work with winver > Win8.1

WineHQ Bugzilla wine-bugs at winehq.org
Tue Apr 19 04:22:29 CDT 2022


https://bugs.winehq.org/show_bug.cgi?id=52763

--- Comment #3 from Louis Lenders <xerox.xerox2000x at gmail.com> ---
diff --git a/dlls/kernelbase/memory.c b/dlls/kernelbase/memory.c
index 21e7c5ef9d9..f974a4085ca 100644
--- a/dlls/kernelbase/memory.c
+++ b/dlls/kernelbase/memory.c
@@ -607,7 +607,7 @@ struct mem_entry

 C_ASSERT(sizeof(struct mem_entry) == 2 * sizeof(void *));

-#define MAX_MEM_HANDLES  0x10000
+#define MAX_MEM_HANDLES  0x8000
 static struct mem_entry mem_entries[MAX_MEM_HANDLES];
 static struct mem_entry *next_free_mem = mem_entries;

By applying patch that caused regression step by step, i found decreasing
MAX_MEM_HANDLES like something above fixes the bug for me.

Remi, could you shed a light on this bug? Thanks

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list