* cygheap.cc (init_cheap): Conditionalize debugging code.
This commit is contained in:
parent
0cf94b8c62
commit
e362f67fef
@ -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>
|
2004-03-21 Christopher Faylor <cgf@redhat.com>
|
||||||
|
|
||||||
* cygheap.cc (init_cheap): Add ability to specify minimal cygwin heap
|
* cygheap.cc (init_cheap): Add ability to specify minimal cygwin heap
|
||||||
|
@ -70,8 +70,10 @@ init_cheap ()
|
|||||||
PAGE_NOACCESS)))
|
PAGE_NOACCESS)))
|
||||||
break;
|
break;
|
||||||
while ((alloc_sz -= 2 * (1024 * 1024)) >= CYGHEAPSIZE_MIN);
|
while ((alloc_sz -= 2 * (1024 * 1024)) >= CYGHEAPSIZE_MIN);
|
||||||
|
#ifdef DEBUGGING
|
||||||
if (alloc_sz != initial_sz)
|
if (alloc_sz != initial_sz)
|
||||||
small_printf ("reset initial cygheap size to %u\n", alloc_sz);
|
small_printf ("reset initial cygheap size to %u\n", alloc_sz);
|
||||||
|
#endif
|
||||||
if (!cygheap)
|
if (!cygheap)
|
||||||
{
|
{
|
||||||
MEMORY_BASIC_INFORMATION m;
|
MEMORY_BASIC_INFORMATION m;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user