dbghelp: Use stricmp() instead of _strnicmp(..., -1).
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
0163db5152
commit
341feeb10e
|
@ -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;
|
||||||
|
|
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue