mirror of
https://github.com/reactos/reactos.git
synced 2024-11-23 19:43:31 +08:00
[WINESYNC] dbghelp: Use stricmp() instead of _strnicmp(..., -1).
Signed-off-by: Alexandre Julliard <julliard@winehq.org> wine commit id 341feeb10eddd3d139c4c206a43db80d0671ff3b by Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
4cc24ef20e
commit
37eff17d4d
@ -21,6 +21,7 @@ typedef HANDLE HWND;
|
||||
#define min(x, y) (((x) < (y)) ? (x) : (y))
|
||||
#define max(x, y) (((x) > (y)) ? (x) : (y))
|
||||
#define _strnicmp(_String1, _String2, _MaxCount) strncasecmp(_String1, _String2, _MaxCount)
|
||||
#define stricmp(_String1, _String2) strcasecmp(_String1, _String2)
|
||||
|
||||
#ifdef __i386__
|
||||
#define CDECL __cdecl
|
||||
|
@ -2682,7 +2682,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 (!_strnicmp(pdb_lookup->filename, imp->filename, -1))
|
||||
if (!stricmp(pdb_lookup->filename, imp->filename))
|
||||
{
|
||||
if (module_index != -1) FIXME("Twice the entry\n");
|
||||
else module_index = i;
|
||||
|
@ -129,7 +129,7 @@ static 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 (!_strnicmp(sectname, name, -1))
|
||||
if (!stricmp(sectname, name))
|
||||
{
|
||||
ism->fmap = fmap;
|
||||
ism->sidx = i;
|
||||
|
@ -4,4 +4,4 @@ files:
|
||||
include/dbghelp.h: sdk/include/psdk/dbghelp.h
|
||||
include/wine/mscvpdb.h: sdk/include/reactos/wine/mscvpdb.h
|
||||
tags:
|
||||
wine: 0163db5152124efbd1a5ba46aa52a6da66d897d5
|
||||
wine: 341feeb10eddd3d139c4c206a43db80d0671ff3b
|
||||
|
Loading…
Reference in New Issue
Block a user