Module: wine Branch: master Commit: a568704c320fa98e087c6dc740e30dedda96d37b URL: https://gitlab.winehq.org/wine/wine/-/commit/a568704c320fa98e087c6dc740e30de...
Author: Rémi Bernon rbernon@codeweavers.com Date: Wed Nov 30 15:06:21 2022 +0100
kernel32/tests: Add more GlobalReAlloc tests with larger size.
In place reallocation is possible, although it depends on the underlying heap strategy. The LFH heap usually fails as it doesn't blocks to grow or shrink out of their size class. Larger block (LFH is limited to 16K blocks), more often allow in-place reallocation, and some native DLLs depend on this.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=53996
---
dlls/kernel32/tests/heap.c | 284 ++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 282 insertions(+), 2 deletions(-)