Module: wine Branch: master Commit: 6903238948d2e49f1a75bd45d1036e1c71dddb1d URL: http://source.winehq.org/git/wine.git/?a=commit;h=6903238948d2e49f1a75bd45d1...
Author: Ken Thomases ken@codeweavers.com Date: Fri May 1 23:01:24 2009 -0500
dbghelp: Don't check version of Mach-O dyld_all_image_infos structure.
The structure has changed repeatedly, but always in a backward compatible way. The version check was only hampering us.
---
dlls/dbghelp/macho_module.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/dlls/dbghelp/macho_module.c b/dlls/dbghelp/macho_module.c index 13f24d9..c0458c6 100644 --- a/dlls/dbghelp/macho_module.c +++ b/dlls/dbghelp/macho_module.c @@ -1170,7 +1170,6 @@ static BOOL macho_enum_modules_internal(const struct process* pcs, if (!pcs->dbg_hdr_addr || !ReadProcessMemory(pcs->handle, (void*)pcs->dbg_hdr_addr, &image_infos, sizeof(image_infos), NULL) || - (image_infos.version != 1 && image_infos.version != 2) || !image_infos.infoArray) goto done; TRACE("Process has %u image infos at %p\n", image_infos.infoArrayCount, image_infos.infoArray);