Module: wine
Branch: master
Commit: 4979ae5a94188b7c1943a64a0cb8cca39bbe8fad
URL: https://gitlab.winehq.org/wine/wine/-/commit/4979ae5a94188b7c1943a64a0cb8cc…
Author: Rémi Bernon <rbernon(a)codeweavers.com>
Date: Wed Nov 30 15:16:49 2022 +0100
kernelbase: Restore HEAP_REALLOC_IN_PLACE_ONLY usage in LocalReAlloc.
This effectively reverts 2be9b0ff4a61f3738eb2c05a7f196a60a95d40c6, which
incorrectly removed the flag, when the reallocation failures the tests
showed were coming from an underlying LFH in-place reallocation failure.
Thus, it restores todo_wine where appropriate while removing other todos
for sizes outside of the LFH block size range.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=53996
---
dlls/kernel32/tests/heap.c | 44 ++++++++++++++++++++++++--------------------
dlls/kernelbase/memory.c | 4 ++--
2 files changed, 26 insertions(+), 22 deletions(-)
Module: wine
Branch: master
Commit: a568704c320fa98e087c6dc740e30dedda96d37b
URL: https://gitlab.winehq.org/wine/wine/-/commit/a568704c320fa98e087c6dc740e30d…
Author: Rémi Bernon <rbernon(a)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(-)
Module: wine
Branch: master
Commit: b793367c676c643602f5a0986b0bbb4c9f4b0694
URL: https://gitlab.winehq.org/wine/wine/-/commit/b793367c676c643602f5a0986b0bbb…
Author: Rémi Bernon <rbernon(a)codeweavers.com>
Date: Wed Nov 30 12:07:48 2022 +0100
kernel32/tests: Make sure the LFH is enabled for some sizes.
Making the GlobalReAlloc tests more sensible, as they fail to reallocate
when the block was allocated with the LFH and the new size wouldn't.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=54012
---
dlls/kernel32/tests/heap.c | 286 +++++++++++++++++++++------------------------
1 file changed, 131 insertions(+), 155 deletions(-)