* 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:
Christopher Faylor
2005-08-11 16:30:48 +00:00
parent ff7bdd11f5
commit b21413b304
4 changed files with 11 additions and 2 deletions

View File

@ -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;
}