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
341feeb1
Commit
341feeb1
authored
Apr 07, 2020
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dbghelp: Use stricmp() instead of _strnicmp(..., -1).
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
0163db51
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
msc.c
dlls/dbghelp/msc.c
+1
-1
pe_module.c
dlls/dbghelp/pe_module.c
+1
-1
No files found.
dlls/dbghelp/msc.c
View file @
341feeb1
...
@@ -2682,7 +2682,7 @@ static void pdb_process_symbol_imports(const struct process* pcs,
...
@@ -2682,7 +2682,7 @@ static void pdb_process_symbol_imports(const struct process* pcs,
{
{
ptr
=
(
const
char
*
)
imp
+
sizeof
(
*
imp
)
+
strlen
(
imp
->
filename
);
ptr
=
(
const
char
*
)
imp
+
sizeof
(
*
imp
)
+
strlen
(
imp
->
filename
);
if
(
i
>=
CV_MAX_MODULES
)
FIXME
(
"Out of bounds!!!
\n
"
);
if
(
i
>=
CV_MAX_MODULES
)
FIXME
(
"Out of bounds!!!
\n
"
);
if
(
!
_strnicmp
(
pdb_lookup
->
filename
,
imp
->
filename
,
-
1
))
if
(
!
stricmp
(
pdb_lookup
->
filename
,
imp
->
filename
))
{
{
if
(
module_index
!=
-
1
)
FIXME
(
"Twice the entry
\n
"
);
if
(
module_index
!=
-
1
)
FIXME
(
"Twice the entry
\n
"
);
else
module_index
=
i
;
else
module_index
=
i
;
...
...
dlls/dbghelp/pe_module.c
View file @
341feeb1
...
@@ -127,7 +127,7 @@ static BOOL pe_find_section(struct image_file_map* fmap, const char* name,
...
@@ -127,7 +127,7 @@ static BOOL pe_find_section(struct image_file_map* fmap, const char* name,
sectname
=
memcpy
(
tmp
,
sectname
,
IMAGE_SIZEOF_SHORT_NAME
);
sectname
=
memcpy
(
tmp
,
sectname
,
IMAGE_SIZEOF_SHORT_NAME
);
tmp
[
IMAGE_SIZEOF_SHORT_NAME
]
=
'\0'
;
tmp
[
IMAGE_SIZEOF_SHORT_NAME
]
=
'\0'
;
}
}
if
(
!
_strnicmp
(
sectname
,
name
,
-
1
))
if
(
!
stricmp
(
sectname
,
name
))
{
{
ism
->
fmap
=
fmap
;
ism
->
fmap
=
fmap
;
ism
->
sidx
=
i
;
ism
->
sidx
=
i
;
...
...
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