From d25c187f126df8e4d1cff98368c24815d2088bd3 Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Sun, 20 Oct 2002 04:15:50 +0000 Subject: Rename _kill() to kill() throughout. Rename _raise() to raise() throughout. Rename _pid() to pid() throughout. * Makefile.in: Compile some objects with -fomit-frame-pointer. * cygwin.din: Reverse aliasing for _kill. * syscalls.cc (_getpid_r): New function, implemented for newlib compatibility. * shared.cc (open_shared): Remove reserving of memory since previous change eliminate the need for this hack. --- winsup/cygwin/shared.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'winsup/cygwin/shared.cc') diff --git a/winsup/cygwin/shared.cc b/winsup/cygwin/shared.cc index 9bcefe3e9..3ea8465bd 100644 --- a/winsup/cygwin/shared.cc +++ b/winsup/cygwin/shared.cc @@ -128,9 +128,11 @@ open_shared (const char *name, int n, HANDLE &shared_h, DWORD size, shared_locat offsets[0] = (char *) shared; } +#if 0 if (!child_proc_info && wincap.needs_memory_protection ()) for (DWORD s = 0x950000; s <= 0xa40000; s += 0x1000) VirtualAlloc ((void *) s, 4, MEM_RESERVE, PAGE_NOACCESS); +#endif } debug_printf ("name %s, shared %p (wanted %p), h %p", name, shared, addr, shared_h); @@ -227,7 +229,6 @@ memory_init () unsigned shared_info::heap_chunk_size () { - unsigned val; if (!initial_heap_size) { /* Fetch misc. registry entries. */ -- cgit v1.2.3