add a "no space on ... heap" error message
Rein Klazes
rklazes at xs4all.nl
Sun Dec 16 09:06:08 CST 2001
Hi,
One failure to allocate space on the local heap generates an error,
another similar one not.
Changelog:
memory/: local.c
Add error message in LOCAL_GetBlock()
Rein.
--
Rein Klazes
rklazes at xs4all.nl
-------------- next part --------------
--- ./wine/memory/local.c Wed Jul 25 02:43:36 2001
+++ ./mywine/memory/local.c Sun Dec 16 15:00:39 2001
@@ -909,6 +909,8 @@
if ((pInfo->notify) && (LOCAL_CallTo16_word_www(pInfo->notify, LN_OUTOFMEM, ds - 20, size))) /* FIXME: "size" correct ? (should indicate bytes needed) */
goto notify_done;
#endif
+ ERR( "not enough space in %s heap %04x for %d bytes\n",
+ get_heap_name(ds), ds, size );
return 0;
}
ptr = MapSL( MAKESEGPTR( ds, 0 ) );
More information about the wine-patches
mailing list