aboutsummaryrefslogtreecommitdiff
path: root/winsup/cygwin/cygheap.cc
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2005-09-02 04:51:09 +0000
committerChristopher Faylor <me@cgf.cx>2005-09-02 04:51:09 +0000
commitb8a66ba2cdef71c64a38ba3cc5609df3da41620e (patch)
treeaaf3c05def84c2051de08dba632e74216966c6f8 /winsup/cygwin/cygheap.cc
parent7a1bf10a8433261a1dd4ae86b76750716d358569 (diff)
downloadnewlib-b8a66ba2cdef71c64a38ba3cc5609df3da41620e.zip
newlib-b8a66ba2cdef71c64a38ba3cc5609df3da41620e.tar.gz
newlib-b8a66ba2cdef71c64a38ba3cc5609df3da41620e.tar.bz2
revert inexplicable previous checkin
Diffstat (limited to 'winsup/cygwin/cygheap.cc')
-rw-r--r--winsup/cygwin/cygheap.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/winsup/cygwin/cygheap.cc b/winsup/cygwin/cygheap.cc
index 6cbdf6e..7db84cc 100644
--- a/winsup/cygwin/cygheap.cc
+++ b/winsup/cygwin/cygheap.cc
@@ -158,7 +158,12 @@ 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));
}