[PATCH] kernel32: Change error returns from GlobalFree.

Alexandre Julliard julliard at winehq.org
Thu Feb 1 11:55:21 CST 2018


Daniel Lehman <dlehman at esri.com> writes:

> From bb53059226cadb27607d1ffa62d2066d1922e15a Mon Sep 17 00:00:00 2001
> From: Daniel Lehman <dlehman at esri.com>
> Date: Tue, 30 Jan 2018 12:18:02 -0800
> Subject: [PATCH] kernel32: Change error returns from GlobalFree.
>
> Signed-off-by: Daniel Lehman <dlehman at esri.com>
> ---
>  dlls/kernel32/heap.c       |  6 +++---
>  dlls/kernel32/tests/heap.c | 14 +++++++++++++-
>  2 files changed, 16 insertions(+), 4 deletions(-)

It breaks the tests here:

../../../tools/runtest -q -P wine -T ../../.. -M kernel32.dll -p kernel32_test.exe.so heap && touch heap.ok
heap.c:271: Test failed: Expected ERROR_INVALID_HANDLE or ERROR_INVALID_PARAMETER, got 998
Makefile:518: recipe for target 'heap.ok' failed
make: *** [heap.ok] Error 1

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list