* cygheap.cc (cygheap_fixup_in_child): Clear cygheap->base so that heap is not

forced to start at the same place in execed process.
* heap.cc: Remove brk* macros for clarity throughout.
* heap.h: Ditto.
* shared.cc (shared_info::initialize): Move heap_chunk test into
heap_chunk_size().
(heap_chunk_size): Check for chunk size here.  Don't go to registry if
heap_chunk_in_mb is already set.
* smallprint.c (console_printf): Add Windows 95 concessions.
This commit is contained in:
Christopher Faylor
2001-09-09 19:06:50 +00:00
parent c386775867
commit de05a524ca
8 changed files with 82 additions and 65 deletions

View File

@@ -15,10 +15,3 @@ void heap_init ();
void malloc_init ();
#define inheap(s) (brk && ((char *) (s) >= (char *) brkbase) && ((char *) (s) <= (char *) brktop))
#define brksize ((char *) cygheap->heaptop - (char *) cygheap->heapbase)
#define brk (cygheap->heapptr)
#define brkbase (cygheap->heapbase)
#define brktop (cygheap->heaptop)
#define brkchunk (cygwin_shared->heap_chunk_size ())