* dcrt0.cc: Remove ld_preload declaration.
* winsup.h: Move ld_preload declaration here. * fork.cc (fork_child): Call ld_preload() before returning.
This commit is contained in:
@ -242,6 +242,7 @@ fork_child (HANDLE& hParent, dll *&first_dll, bool& load_dlls)
|
||||
fixup_timers_after_fork ();
|
||||
fixup_hooks_after_fork ();
|
||||
cygbench ("fork-child");
|
||||
ld_preload ();
|
||||
cygwin_finished_initializing = true;
|
||||
return 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user