Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
69299829
Commit
69299829
authored
Jan 17, 2008
by
Eric van Beurden
Committed by
Alexandre Julliard
Jan 18, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dbghelp: Fix file searching to search only listed directories instead of the whole HD.
parent
ebc35e68
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
path.c
dlls/dbghelp/path.c
+5
-5
No files found.
dlls/dbghelp/path.c
View file @
69299829
...
...
@@ -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
);
if
(
h
==
INVALID_HANDLE_VALUE
)
{
...
...
@@ -79,7 +79,7 @@ HANDLE WINAPI FindDebugInfoFileEx(PCSTR FileName, PCSTR SymbolPath,
PVOID
CallerData
)
{
FIXME
(
"(%s %s %p %p %p): stub
\n
"
,
FileName
,
SymbolPath
,
DebugFilePath
,
Callback
,
CallerData
);
debugstr_a
(
FileName
),
debugstr_a
(
SymbolPath
),
debugstr_a
(
DebugFilePath
)
,
Callback
,
CallerData
);
return
NULL
;
}
...
...
@@ -191,7 +191,7 @@ BOOL WINAPI SymMatchFileName(PCSTR file, PCSTR match,
PCSTR
fptr
;
PCSTR
mptr
;
TRACE
(
"(%s %s %p %p)
\n
"
,
file
,
match
,
filestop
,
matchstop
);
TRACE
(
"(%s %s %p %p)
\n
"
,
debugstr_a
(
file
),
debugstr_a
(
match
)
,
filestop
,
matchstop
);
fptr
=
file
+
strlen
(
file
)
-
1
;
mptr
=
match
+
strlen
(
match
)
-
1
;
...
...
@@ -217,7 +217,7 @@ static BOOL do_searchW(PCWSTR file, PWSTR buffer, BOOL recurse,
BOOL
found
=
FALSE
;
static
const
WCHAR
S_AllW
[]
=
{
'*'
,
'.'
,
'*'
,
'\0'
};
static
const
WCHAR
S_DotW
[]
=
{
'.'
,
'\0'
};
static
const
WCHAR
S_DotDotW
[]
=
{
'.'
,
'\0'
};
static
const
WCHAR
S_DotDotW
[]
=
{
'.'
,
'
.'
,
'
\0'
};
pos
=
strlenW
(
buffer
);
if
(
buffer
[
pos
-
1
]
!=
'\\'
)
buffer
[
pos
++
]
=
'\\'
;
...
...
@@ -478,7 +478,7 @@ BOOL WINAPI SymFindFileInPathW(HANDLE hProcess, PCWSTR searchPath, PCWSTR full_p
WCHAR
*
ptr
;
const
WCHAR
*
filename
;
TRACE
(
"(
%p %s %s %p %08x %08x %08x %p %p
%p)
\n
"
,
TRACE
(
"(
hProcess = %p, searchPath = %s, full_path = %s, id = %p, two = 0x%08x, three = 0x%08x, flags = 0x%08x, buffer = %p, cb = %p, user =
%p)
\n
"
,
hProcess
,
debugstr_w
(
searchPath
),
debugstr_w
(
full_path
),
id
,
two
,
three
,
flags
,
buffer
,
cb
,
user
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment