diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2012-02-09 18:41:21 +0400 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2012-02-09 18:41:21 +0400 |
commit | 9eba4de2699e6365c45f3a48a011038f4eb6df3c (patch) | |
tree | cd7c1f4aec72c669bf24042e11915466b96b5f3c /winsup/cygwin/dll_init.h | |
parent | e59d6a14697b31cef93979bf9f4e745edba6211a (diff) |
* dll_init.h (struct dll): Re-add modname.
* dll_init.cc: Throughout, use modname where it was used before.
(dll_list::operator[]): Use modname. Move comment from dll_list::alloc
here and remove hint about GetModuleBaseNameW.
(dll_list::alloc): Store full path in name, pointer to basename in
modname. Search dll using modname.
Diffstat (limited to 'winsup/cygwin/dll_init.h')
-rw-r--r-- | winsup/cygwin/dll_init.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/winsup/cygwin/dll_init.h b/winsup/cygwin/dll_init.h index 093776873..aa32dc08f 100644 --- a/winsup/cygwin/dll_init.h +++ b/winsup/cygwin/dll_init.h @@ -56,6 +56,7 @@ struct dll dll** deps; DWORD image_size; void* preferred_base; + PWCHAR modname; WCHAR name[1]; void detach (); int init (); |