Rémi Bernon (@rbernon) commented about dlls/kernel32/tests/heap.c:
- SIZE_T alloc_size, commit_size, current_subheap_size;
- BOOL initial_subheap = TRUE, max_size_reached = FALSE;
- char *base, *current_base;
- unsigned int i;
- HANDLE heap;
- void *p;
- winetest_push_context( "init size %#Ix", initial_size );
- heap = HeapCreate( HEAP_NO_SERIALIZE, initial_size, 0 );
- get_valloc_info( heap, ¤t_base, &alloc_size, &commit_size );
- todo_wine
- ok( alloc_size == initial_size + default_heap_size || broken( (initial_size && alloc_size == initial_size)
|| (!initial_size && (alloc_size == default_heap_size * sizeof(void*))) ) /* Win7 */,
"got %#Ix.\n", alloc_size );
```suggestion:-2+0 ok( alloc_size == initial_size + default_heap_size || broken( alloc_size == (initial_size ? initial_size : 0x40000) ) /* Win7 */, "got %#Ix.\n", alloc_size ); ```