bad_addresses

This commit is contained in:
Christopher Faylor
2005-09-02 04:46:51 +00:00
parent 062c2fa42f
commit 7a1bf10a84
9 changed files with 34 additions and 20 deletions

View File

@@ -158,12 +158,7 @@ cygheap_init ()
cygheap_protect.init ("cygheap_protect");
if (!cygheap)
{
#if 1
cygheap = (init_cygheap *) memset (_cygheap_start, 0, _cygheap_mid - _cygheap_start);
#else
cygheap = (init_cygheap *) _cygheap_start;
#endif
cygheap_max = cygheap;
_csbrk (sizeof (*cygheap));
}