summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/cygheap.cc
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2002-07-30 01:31:51 +0000
committerChristopher Faylor <me@cgf.cx>2002-07-30 01:31:51 +0000
commitc6ed5790b47d1252f5729fe15323efcbb34516f8 (patch)
tree72de681a899565469ccd36404cd738bbe7b0a7ef /winsup/cygwin/cygheap.cc
parent60d99bce80566bc3458eb4e00e46d87569c17cba (diff)
downloadcygnal-c6ed5790b47d1252f5729fe15323efcbb34516f8.tar.gz
cygnal-c6ed5790b47d1252f5729fe15323efcbb34516f8.tar.bz2
cygnal-c6ed5790b47d1252f5729fe15323efcbb34516f8.zip
* dcrt0.cc (dll_crt0_1): Move debug_fixup_after_fork_exec.
* cygheap.cc (cygheap_fixup_in_child): Call debug_fixup_after_fork_exec immediately after cygheap has ben set up.
Diffstat (limited to 'winsup/cygwin/cygheap.cc')
-rw-r--r--winsup/cygwin/cygheap.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/winsup/cygwin/cygheap.cc b/winsup/cygwin/cygheap.cc
index 9aa5a4b84..edd77fcf3 100644
--- a/winsup/cygwin/cygheap.cc
+++ b/winsup/cygwin/cygheap.cc
@@ -146,6 +146,7 @@ cygheap_fixup_in_child (bool execed)
ForceCloseHandle1 (child_proc_info->cygheap_h, passed_cygheap_h);
cygheap_init ();
+ debug_fixup_after_fork_exec ();
if (execed)
{