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
061f65f9
Commit
061f65f9
authored
Apr 08, 2019
by
Piotr Caban
Committed by
Alexandre Julliard
Apr 08, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dbghelp: Don't use strcasecmp.
Signed-off-by:
Piotr Caban
<
piotr@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
e7d1107f
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 @
061f65f9
...
...
@@ -2684,7 +2684,7 @@ static void pdb_process_symbol_imports(const struct process* pcs,
{
ptr
=
(
const
char
*
)
imp
+
sizeof
(
*
imp
)
+
strlen
(
imp
->
filename
);
if
(
i
>=
CV_MAX_MODULES
)
FIXME
(
"Out of bounds!!!
\n
"
);
if
(
!
strcasecmp
(
pdb_lookup
->
filename
,
imp
->
filename
))
if
(
!
_strnicmp
(
pdb_lookup
->
filename
,
imp
->
filename
,
-
1
))
{
if
(
module_index
!=
-
1
)
FIXME
(
"Twice the entry
\n
"
);
else
module_index
=
i
;
...
...
dlls/dbghelp/pe_module.c
View file @
061f65f9
...
...
@@ -127,7 +127,7 @@ BOOL pe_find_section(struct image_file_map* fmap, const char* name,
sectname
=
memcpy
(
tmp
,
sectname
,
IMAGE_SIZEOF_SHORT_NAME
);
tmp
[
IMAGE_SIZEOF_SHORT_NAME
]
=
'\0'
;
}
if
(
!
strcasecmp
(
sectname
,
name
))
if
(
!
_strnicmp
(
sectname
,
name
,
-
1
))
{
ism
->
fmap
=
fmap
;
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