From 88de60e449ad4ab39eac2c35628cc185abc669a3 Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Wed, 7 Aug 2002 01:22:56 +0000 Subject: one more change --- winsup/cygwin/cygheap.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'winsup/cygwin/cygheap.cc') diff --git a/winsup/cygwin/cygheap.cc b/winsup/cygwin/cygheap.cc index fb13fbed6..7ea7a39c3 100644 --- a/winsup/cygwin/cygheap.cc +++ b/winsup/cygwin/cygheap.cc @@ -61,6 +61,7 @@ init_cheap () api_fatal ("AllocationBase %p, BaseAddress %p, RegionSize %p, State %p\n", m.AllocationBase, m.BaseAddress, m.RegionSize, m.State); } + cygheap_max = cygheap; } static void dup_now (void *, child_info *, unsigned) __attribute__ ((regparm(3))); @@ -189,7 +190,6 @@ cygheap_init () if (!cygheap) { init_cheap (); - cygheap_max = cygheap; (void) _csbrk (sizeof (*cygheap)); } if (!cygheap->fdtab) -- cgit v1.2.3