diff options
Diffstat (limited to 'winsup/cygwin/fork.cc')
-rw-r--r-- | winsup/cygwin/fork.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/winsup/cygwin/fork.cc b/winsup/cygwin/fork.cc index 729de1d8b..4cac097b5 100644 --- a/winsup/cygwin/fork.cc +++ b/winsup/cygwin/fork.cc @@ -284,8 +284,6 @@ fork_child (HANDLE& hParent, dll *&first_dll, bool& load_dlls) if (fixup_mmaps_after_fork (hParent)) api_fatal ("recreate_mmaps_after_fork_failed"); - pinfo_fixup_after_fork (); - MALLOC_CHECK; /* If we haven't dynamically loaded any dlls, just signal @@ -308,6 +306,7 @@ fork_child (HANDLE& hParent, dll *&first_dll, bool& load_dlls) api_fatal ("recreate_shm areas after fork failed"); cygthread::init (); + pinfo_fixup_after_fork (); signal_fixup_after_fork (); /* Set thread local stuff to zero. Under Windows 95/98 this is sometimes |