mirror of
https://github.com/reactos/reactos.git
synced 2025-02-23 00:45:24 +00:00
[WINESYNC] dbghelp: Don't use strcasecmp.
Signed-off-by: Piotr Caban <piotr@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org> wine commit id 061f65f9aaa5e6c9e34f407293906a2cc9033f0d by Piotr Caban <piotr@codeweavers.com>
This commit is contained in:
parent
9ed477cdd9
commit
ad6eaca464
4 changed files with 4 additions and 3 deletions
|
@ -14,6 +14,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)
|
||||
|
||||
#ifdef __i386__
|
||||
#define CDECL __cdecl
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -129,7 +129,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;
|
||||
|
|
|
@ -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: 3d6febc997c808e7c91289c34f7bb48b8b1fe2bb
|
||||
wine: 061f65f9aaa5e6c9e34f407293906a2cc9033f0d
|
||||
|
|
Loading…
Reference in a new issue