* dll_init.cc: Throughout, drop usage of modname in favor of name.
(dll_list::find_by_modname): Remove. (dll_list::alloc): Only store module basename in name. Add comment to explain why. Simplify address check. Fix formatting in comment. * dll_init.h (struct dll): Drop modname and find_by_modname.
This commit is contained in:
@ -54,7 +54,6 @@ struct dll
|
||||
dll_type type;
|
||||
long ndeps;
|
||||
dll** deps;
|
||||
PWCHAR modname;
|
||||
DWORD image_size;
|
||||
void* preferred_base;
|
||||
WCHAR name[1];
|
||||
@ -90,7 +89,6 @@ 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);
|
||||
|
Reference in New Issue
Block a user