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>2001-01-29 03:46:25 +0300
committerChristopher Faylor <me@cgf.cx>2001-01-29 03:46:25 +0300
commit6a4878cf1617f051e4706ce30f7c8607ebf2e85d (patch)
tree2a3a69edf8e8000644a0ff5d69fcd68fa6dbc101 /winsup/cygwin/heap.cc
parent39d871d66d6ce0c49dc669f2d8e2f55414579bcf (diff)
* syscalls.cc (_link): Make sure that newpath does not exist. Set errno if it
does. * cygheap.cc (init_cheap): Don't specify a load address for the heap. It doesn't work on #!*& Windows 9x. (cygheap_init): Move GetUserName to memory_init. * dcrt0.cc (dll_crt0_1): Call new memory_init functin, eliminate call to heap_init. * heap.cc (heap_init): Improve error output. * heap.h: Correct some declarations. * shared.cc (mount_table_init): Remove. (memory_init): Renamed from shared_init. Reorganize to accomodate strange Windows 9x problems with cygheap/heap interaction. * shared_info.h: Rename shared_init to memory_init.
Diffstat (limited to 'winsup/cygwin/heap.cc')
-rw-r--r--winsup/cygwin/heap.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/winsup/cygwin/heap.cc b/winsup/cygwin/heap.cc
index 6a35b9c8f..43ece46b6 100644
--- a/winsup/cygwin/heap.cc
+++ b/winsup/cygwin/heap.cc
@@ -52,8 +52,8 @@ heap_init ()
break;
}
if (p == NULL)
- api_fatal ("1. unable to allocate heap, heap_chunk_size %d, pid %d, %E",
- brkchunk, myself->pid);
+ api_fatal ("1. unable to allocate heap %p, heap_chunk_size %d, pid %d, %E",
+ brkbase, brkchunk, myself->pid);
if (p != brkbase)
api_fatal ("heap allocated but not at %p", brkbase);
if (! VirtualAlloc (brkbase, allocsize, MEM_COMMIT, PAGE_READWRITE))