* cygheap.cc (init_cheap): Conditionalize debugging code.

This commit is contained in:
Christopher Faylor 2004-03-21 21:51:26 +00:00
parent 0cf94b8c62
commit e362f67fef
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2004-03-21 Christopher Faylor <cgf@redhat.com>
* cygheap.cc (init_cheap): Conditionalize debugging code.
2004-03-21 Christopher Faylor <cgf@redhat.com>
* cygheap.cc (init_cheap): Add ability to specify minimal cygwin heap

View File

@ -70,8 +70,10 @@ init_cheap ()
PAGE_NOACCESS)))
break;
while ((alloc_sz -= 2 * (1024 * 1024)) >= CYGHEAPSIZE_MIN);
#ifdef DEBUGGING
if (alloc_sz != initial_sz)
small_printf ("reset initial cygheap size to %u\n", alloc_sz);
#endif
if (!cygheap)
{
MEMORY_BASIC_INFORMATION m;