* dll_init.cc: Revert pathname changes from 2012-02-08.

(dll_list::operator[]): Add long comment to explain the misery.
	(dll_list::alloc): Skip long pathname prefix potentially returned by
	GetModuleFileNameW.
	* dll_init.h (dll_list::find_by_modname): Add back declaration.
This commit is contained in:
Corinna Vinschen
2012-03-04 13:50:12 +00:00
parent cd78c479f4
commit 50124fc056
3 changed files with 57 additions and 13 deletions

View File

@ -90,6 +90,7 @@ public:
void load_after_fork (HANDLE);
void reserve_space ();
void load_after_fork_impl (HANDLE, dll* which, int retries);
dll *find_by_modname (const PWCHAR name);
void populate_deps (dll* d);
void topsort ();
void topsort_visit (dll* d, bool goto_tail);