Skip to content

Commit 060f0bd

Browse files
authored
Search for function names should be case sensitive
1 parent 403a31e commit 060f0bd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

MemoryModule.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -766,14 +766,14 @@ static int _compare(const void *a, const void *b)
766766
{
767767
const struct ExportNameEntry *p1 = (const struct ExportNameEntry*) a;
768768
const struct ExportNameEntry *p2 = (const struct ExportNameEntry*) b;
769-
return _stricmp(p1->name, p2->name);
769+
return strcmp(p1->name, p2->name);
770770
}
771771

772772
static int _find(const void *a, const void *b)
773773
{
774774
LPCSTR *name = (LPCSTR *) a;
775775
const struct ExportNameEntry *p = (const struct ExportNameEntry*) b;
776-
return _stricmp(*name, p->name);
776+
return strcmp(*name, p->name);
777777
}
778778

779779
FARPROC MemoryGetProcAddress(HMEMORYMODULE mod, LPCSTR name)

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy