Alexandre Julliard : dbghelp: Fix detection of special Wine segments.

Alexandre Julliard julliard at winehq.org
Thu Jun 25 08:13:56 CDT 2009


Module: wine
Branch: master
Commit: a5231a60a1a4843fb26f6a2c5e94d0c5808f8ab2
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=a5231a60a1a4843fb26f6a2c5e94d0c5808f8ab2

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Thu Jun 25 11:45:08 2009 +0200

dbghelp: Fix detection of special Wine segments.

---

 dlls/dbghelp/macho_module.c |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/dlls/dbghelp/macho_module.c b/dlls/dbghelp/macho_module.c
index c0458c6..4210d1f 100644
--- a/dlls/dbghelp/macho_module.c
+++ b/dlls/dbghelp/macho_module.c
@@ -390,9 +390,7 @@ static int macho_accum_segs_range(struct macho_file_map* fmap,
     TRACE("Segment command vm: 0x%08x - 0x%08x\n", (unsigned)sc->vmaddr,
             (unsigned)sc->vmaddr + sc->vmsize);
 
-    if (!strncmp(sc->segname, "WINE_DOS", sizeof(sc->segname)) ||
-        !strncmp(sc->segname, "WINE_OLE32", sizeof(sc->segname)) ||
-        !strncmp(sc->segname, "WINE_SHARED_HEAP", sizeof(sc->segname)))
+    if (!strncmp(sc->segname, "WINE_", 5))
     {
         TRACE("Ignoring special Wine segment %s\n", debugstr_an(sc->segname, sizeof(sc->segname)));
         return 0;




More information about the wine-cvs mailing list