summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/shared_info.h
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2011-08-09 12:00:27 +0000
committerCorinna Vinschen <corinna@vinschen.de>2011-08-09 12:00:27 +0000
commitafe817741cc8e509c9c3b2fdfca7c2b7ac4c994a (patch)
treecba5a71faf4fbd9f2e05fea7168695dd4827579d /winsup/cygwin/shared_info.h
parentc29da54058ab28475e1a8e31c67abb8e2168b44f (diff)
downloadcygnal-afe817741cc8e509c9c3b2fdfca7c2b7ac4c994a.tar.gz
cygnal-afe817741cc8e509c9c3b2fdfca7c2b7ac4c994a.tar.bz2
cygnal-afe817741cc8e509c9c3b2fdfca7c2b7ac4c994a.zip
* heap.cc (eval_initial_heap_size): New function fetching the heap
size from the LoaderFlags field in the PE/COFF header. (heap_init): Call eval_initial_heap_size rather than cygwin_shared->heap_chunk_size to fetch the initial heap size. * shared.cc (shared_info::heap_chunk_size): Remove. * shared_info.h (class shared_info): Drop heap_chunk member. (CURR_SHARED_MAGIC): Update.
Diffstat (limited to 'winsup/cygwin/shared_info.h')
-rw-r--r--winsup/cygwin/shared_info.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/winsup/cygwin/shared_info.h b/winsup/cygwin/shared_info.h
index be1ebca51..e6f9c832e 100644
--- a/winsup/cygwin/shared_info.h
+++ b/winsup/cygwin/shared_info.h
@@ -34,7 +34,7 @@ public:
/* Data accessible to all tasks */
-#define CURR_SHARED_MAGIC 0x34e5bfa7U
+#define CURR_SHARED_MAGIC 0x8fe4d9eeU
#define USER_VERSION 1
@@ -46,7 +46,6 @@ class shared_info
LONG version;
DWORD cb;
public:
- DWORD heap_chunk;
tty_list tty;
LONG last_used_bindresvport;
DWORD obcaseinsensitive;