From 60bc7b5977b45844adb1223096066d635d6da0a2 Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Fri, 18 Oct 2002 23:52:59 +0000 Subject: * fork.cc (fork_child): Move mmap initialization. * shared.cc (shared_info::heap_chunk_size): Store info as megabytes. Search HKEY_LOCAL_MACHINE as well as HKEY_CURRENT_USER. * shared_info.h (shared_info::initial_heap_size): Change element name to reflect new functionality. * strace.cc (strace::hello): Report on initial heap size. --- winsup/cygwin/shared_info.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'winsup/cygwin/shared_info.h') diff --git a/winsup/cygwin/shared_info.h b/winsup/cygwin/shared_info.h index a39275e49..c93fd6762 100644 --- a/winsup/cygwin/shared_info.h +++ b/winsup/cygwin/shared_info.h @@ -138,7 +138,7 @@ public: #define SHARED_INFO_CB 47112 -#define CURR_SHARED_MAGIC 0x29eb8ccdU +#define CURR_SHARED_MAGIC 0xd9e0bc22U /* NOTE: Do not make gratuitous changes to the names or organization of the below class. The layout is checksummed to determine compatibility between @@ -148,7 +148,7 @@ class shared_info DWORD version; DWORD cb; public: - int heap_chunk_in_mb; + unsigned initial_heap_size; DWORD sys_mount_table_counter; tty_list tty; -- cgit v1.2.3