Jason Green a écrit :
From ad95ee9cad0df8b4e8ca35d2d5a280d755c7bf7f Mon Sep 17 00:00:00 2001 From: Jason Green <jason@jave01.(none)> Date: Thu, 17 Jan 2008 17:21:00 -0500 Subject: [PATCH] Fix file searching to search only listed directories instead of the whole HD. And, wrap some TRACE parameters in debugstr. From: Eric van Beurden (ericvb@transgaming.com)
dlls/dbghelp/path.c | 14 +++++++------- 1 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/dlls/dbghelp/path.c b/dlls/dbghelp/path.c index 2e191af..fac9dc0 100644 --- a/dlls/dbghelp/path.c +++ b/dlls/dbghelp/path.c @@ -57,7 +57,7 @@ HANDLE WINAPI FindDebugInfoFile(PCSTR FileName, PCSTR SymbolPath, PSTR DebugFile { HANDLE h;
- h = CreateFileA(DebugFilePath, GENERIC_READ, FILE_SHARE_READ, NULL,
- h = CreateFileA(FileName, GENERIC_READ, FILE_SHARE_READ, NULL, OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, NULL);
you failed to set DebugFilePath to the desired value again the rest of the patch has nothing to do with the first part of the patch A+