Piotr Caban : mscoree: Don't use strncasecmp.
Module: wine Branch: master Commit: cef4d3465b0826b05f944ca62570b2b5274fd1db URL: https://source.winehq.org/git/wine.git/?a=commit;h=cef4d3465b0826b05f944ca62... Author: Piotr Caban <piotr(a)codeweavers.com> Date: Tue Apr 2 16:51:53 2019 +0200 mscoree: Don't use strncasecmp. Signed-off-by: Piotr Caban <piotr(a)codeweavers.com> Signed-off-by: Alexandre Julliard <julliard(a)winehq.org> --- dlls/mscoree/metahost.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dlls/mscoree/metahost.c b/dlls/mscoree/metahost.c index c02bfe1..fc1d178 100644 --- a/dlls/mscoree/metahost.c +++ b/dlls/mscoree/metahost.c @@ -29,6 +29,7 @@ #include "windef.h" #include "winbase.h" #include "winreg.h" +#include "winternl.h" #include "ole2.h" #include "corerror.h" @@ -1242,7 +1243,7 @@ static void parse_override_entry(override_entry *entry, const char *string, int value = equals + 1; switch (key_len) { case 3: - if (!strncasecmp(string, "gac", 3)) { + if (!_strnicmp(string, "gac", 3)) { if (IS_OPTION_TRUE(*value)) entry->flags |= ASSEMBLY_SEARCH_GAC; else if (IS_OPTION_FALSE(*value))
participants (1)
-
Alexandre Julliard