diff options
author | Christopher Faylor <me@cgf.cx> | 2001-09-09 19:06:50 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2001-09-09 19:06:50 +0000 |
commit | de05a524ca9636914d8c228551f27feb6b509c4d (patch) | |
tree | 11680bdf0bf8920df92b999dd462206e5b8d5d36 /winsup/cygwin/cygheap.h | |
parent | c38677586752178f00e7ad467c8daae2121d10c8 (diff) | |
download | cygnal-de05a524ca9636914d8c228551f27feb6b509c4d.tar.gz cygnal-de05a524ca9636914d8c228551f27feb6b509c4d.tar.bz2 cygnal-de05a524ca9636914d8c228551f27feb6b509c4d.zip |
* 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.
Diffstat (limited to 'winsup/cygwin/cygheap.h')
-rw-r--r-- | winsup/cygwin/cygheap.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/winsup/cygwin/cygheap.h b/winsup/cygwin/cygheap.h index 8d34e671a..c268ebaac 100644 --- a/winsup/cygwin/cygheap.h +++ b/winsup/cygwin/cygheap.h @@ -153,9 +153,12 @@ struct init_cygheap { _cmalloc_entry *chain; char *buckets[32]; - void *heapbase; - void *heapptr; - void *heaptop; + struct /* User heap stuff. */ + { + void *heapbase; + void *heapptr; + void *heaptop; + }; cygheap_root root; cygheap_user user; mode_t umask; |