https://git.reactos.org/?p=reactos.git;a=commitdiff;h=c82f34344e88b2e6b68a8cbe0b4d5ab78f8c44dd

commit c82f34344e88b2e6b68a8cbe0b4d5ab78f8c44dd
Author:     winesync <[email protected]>
AuthorDate: Fri Sep 11 16:57:23 2020 +0200
Commit:     Jérôme Gardou <[email protected]>
CommitDate: Wed Sep 16 10:35:44 2020 +0200

    [WINESYNC] dbghelp: Search also real path location in path_find_symbol_file.
    
    Signed-off-by: Jacek Caban <[email protected]>
    Signed-off-by: Alexandre Julliard <[email protected]>
    
    wine commit id d731208602393877709d3bb0bdeb28c80f9719b0 by Jacek Caban 
<[email protected]>
---
 dll/win32/dbghelp/path.c       | 5 +++++
 sdk/tools/winesync/dbghelp.cfg | 2 +-
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/dll/win32/dbghelp/path.c b/dll/win32/dbghelp/path.c
index f8a7f3d890a..014c79c4790 100644
--- a/dll/win32/dbghelp/path.c
+++ b/dll/win32/dbghelp/path.c
@@ -664,6 +664,11 @@ BOOL path_find_symbol_file(const struct process* pcs, 
const struct module* modul
     /* 2. check module-path */
     file_pathW(module->module.LoadedImageName, buffer);
     if (do_searchW(filename, buffer, FALSE, module_find_cb, &mf)) return TRUE;
+    if (module->real_path)
+    {
+        file_pathW(module->real_path, buffer);
+        if (do_searchW(filename, buffer, FALSE, module_find_cb, &mf)) return 
TRUE;
+    }
 
     while (searchPath)
     {
diff --git a/sdk/tools/winesync/dbghelp.cfg b/sdk/tools/winesync/dbghelp.cfg
index 3b36c85191e..abdb0e40ad3 100644
--- a/sdk/tools/winesync/dbghelp.cfg
+++ b/sdk/tools/winesync/dbghelp.cfg
@@ -4,4 +4,4 @@ files:
   include/dbghelp.h: sdk/include/psdk/dbghelp.h
   include/wine/mscvpdb.h: sdk/include/reactos/wine/mscvpdb.h
 tags:
-  wine: e21b61392cbc3a4879f837316c869c44b8dcf685
+  wine: d731208602393877709d3bb0bdeb28c80f9719b0

Reply via email to