Module: wine Branch: master Commit: ade919c603cc92e3ef97d8bd39d20185514bbd21 URL: http://source.winehq.org/git/wine.git/?a=commit;h=ade919c603cc92e3ef97d8bd39...
Author: Eric Pouech eric.pouech@wanadoo.fr Date: Tue Mar 13 17:33:02 2007 +0100
dbghelp: Cleanups for module loading (lookups on module name and image name are two different things)
- split up module_find_by_name in two different functions: + reused module_find_by_name which looks upon the module name + added module_is_already_loaded which looks upon the image name - cleanup module loading using these functions (removed extra parameter to pe_load_module_from_pcs)
---
dlls/dbghelp/dbghelp_private.h | 9 ++- dlls/dbghelp/elf_module.c | 2 +- dlls/dbghelp/module.c | 101 +++++++++++++++++++++------------------ dlls/dbghelp/pe_module.c | 54 ++++++--------------- dlls/dbghelp/source.c | 2 +- dlls/dbghelp/symbol.c | 2 +- 6 files changed, 79 insertions(+), 91 deletions(-)
Diff: http://source.winehq.org/git/wine.git/?a=commitdiff;h=ade919c603cc92e3ef97d8...