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/strace.cc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'winsup/cygwin/strace.cc') diff --git a/winsup/cygwin/strace.cc b/winsup/cygwin/strace.cc index 506d44ec9..cb367afeb 100644 --- a/winsup/cygwin/strace.cc +++ b/winsup/cygwin/strace.cc @@ -19,6 +19,7 @@ details. */ #include "cygwin_version.h" #include "hires.h" #include "cygthread.h" +#include "shared_info.h" #define PROTECT(x) x[sizeof (x)-1] = 0 #define CHECK(x) if (x[sizeof (x)-1] != 0) { small_printf ("array bound exceeded %d\n", __LINE__); ExitProcess (1); } @@ -57,6 +58,7 @@ strace::hello () cygwin_version.api_major, cygwin_version.api_minor); prntf (1, NULL, "DLL build: %s", cygwin_version.dll_build_date); prntf (1, NULL, "OS version: Windows %s", wincap.osname ()); + prntf (1, NULL, "Heap size: %u", cygwin_shared->heap_chunk_size ()); prntf (1, NULL, "**********************************************"); } } -- cgit v1.2.3