add a "no space on ... heap" error message

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xs4all.nl
--- ./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 ) );

[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux