* string.h: Re-enable inline strcasematch and strncasematch
implementations and rename to ascii_strcasematch/ascii_strncasematch. * dcrt0.cc: Replace str[n]casematch with ascii_str[n]casematch where applicable. * environ.cc: Ditto. * fhandler_process.cc: Ditto. * hookapi.cc: Ditto. * path.cc: Ditto. * spawn.cc: Ditto. * strace.cc: Ditto. * syscalls.cc: Ditto. * uinfo.cc: Ditto. * winf.cc: Ditto.
This commit is contained in:
@ -892,7 +892,7 @@ dll_crt0_1 (void *)
|
||||
if (__progname)
|
||||
{
|
||||
char *cp = strchr (__progname, '\0') - 4;
|
||||
if (cp > __progname && strcasematch (cp, ".exe"))
|
||||
if (cp > __progname && ascii_strcasematch (cp, ".exe"))
|
||||
*cp = '\0';
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user