]> sourceware.org Git - newlib-cygwin.git/commitdiff
one more change
authorChristopher Faylor <me@cgf.cx>
Wed, 7 Aug 2002 01:22:56 +0000 (01:22 +0000)
committerChristopher Faylor <me@cgf.cx>
Wed, 7 Aug 2002 01:22:56 +0000 (01:22 +0000)
winsup/cygwin/ChangeLog
winsup/cygwin/cygheap.cc

index 93ead8c54ece4ad261f7600e9439735d9f1ae404..1512949c8adc282a29686556b628e3c4bc904ba6 100644 (file)
@@ -2,6 +2,7 @@
 
        * cygheap.cc (_csbrk): Avoid !cygheap considerations.
        (cygheap_init): Deal with unintialized cygheap issues here.
+       (cheap_init): Move cygheap_max setting here.
 
 2002-08-06  Christopher Faylor  <cgf@redhat.com>
            Conrad Scott  <conrad.scott@dsl.pipex.com
index fb13fbed6a77a5415d82ee59546d510ba1539dda..7ea7a39c39eae690d0f2f64ceee365618da213e4 100644 (file)
@@ -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)
This page took 0.033325 seconds and 5 git commands to generate.