Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2002-10-19 03:52:59 +0400
committerChristopher Faylor <me@cgf.cx>2002-10-19 03:52:59 +0400
commit60bc7b5977b45844adb1223096066d635d6da0a2 (patch)
tree8d4efcd95b8be087fdbe4fecc6742fb043897ccf /winsup/cygwin/shared_info.h
parent978ea3cf1c7b0e06791df78ade33d3c8201d7a15 (diff)
* 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.
Diffstat (limited to 'winsup/cygwin/shared_info.h')
-rw-r--r--winsup/cygwin/shared_info.h4
1 files changed, 2 insertions, 2 deletions
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;