From a341aab5a55d82a04f44a52cd8161f55d443580d Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Fri, 5 Jun 2009 11:15:28 +0000 Subject: * heap.cc (heap_init): Fix typo in comment. --- winsup/cygwin/ChangeLog | 4 ++++ winsup/cygwin/heap.cc | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) (limited to 'winsup') diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index 3d46b7981..339ed9fdc 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,7 @@ +2009-06-05 Corinna Vinschen + + * heap.cc (heap_init): Fix typo in comment. + 2009-06-04 Corinna Vinschen * fhandler_clipboard.cc: Avoid calling system_printf. diff --git a/winsup/cygwin/heap.cc b/winsup/cygwin/heap.cc index adf041bde..be4946d25 100644 --- a/winsup/cygwin/heap.cc +++ b/winsup/cygwin/heap.cc @@ -41,7 +41,7 @@ heap_init () arbitrary. Experiments on Vista show a memory size of 0x37e000 or 0x1fd000 overlapping the usual heap by at most 0x1ed000. So what we do here is to allocate the heap with an extra slop of (by default) - 0x200000 and set the appropriate pointers to the start of the heap + 0x400000 and set the appropriate pointers to the start of the heap area + slop. A forking child then creates its heap at the new start address and without the slop factor. Since this is not entirely foolproof we add a registry setting "heap_slop_in_mb" so the slop -- cgit v1.2.3