From bdfeb1791513ac1fc58cd9229ee6234843a69167 Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Mon, 2 Sep 2002 06:00:59 +0000 Subject: * dcrt0.cc (dll_crt0_1): Remove getpagesize() call. * shared.cc (memory_init): Move it here. --- winsup/cygwin/shared.cc | 1 + 1 file changed, 1 insertion(+) (limited to 'winsup/cygwin/shared.cc') diff --git a/winsup/cygwin/shared.cc b/winsup/cygwin/shared.cc index b6d15f3..3031ae7 100644 --- a/winsup/cygwin/shared.cc +++ b/winsup/cygwin/shared.cc @@ -146,6 +146,7 @@ memory_init () cygheap->shared_h = shared_h; ProtectHandleINH (cygheap->shared_h); + getpagesize (); heap_init (); mount_table = (mount_info *) open_shared (user_name, MOUNT_VERSION, cygwin_mount_h, -- cgit v1.1