From 980fe05f47b9d6dd8626b5ea021e2c16807ff5ca Mon Sep 17 00:00:00 2001 From: corvid Date: Fri, 11 Nov 2011 04:26:41 +0000 Subject: locale-independent ASCII character case handling Basically, I and i are different letters in Turkic languages, and this causes problems for str(n)casecmp and toupper/tolower in these locales when dillo is dealing with ASCII. --- dpid/dpid.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dpid/dpid.c') diff --git a/dpid/dpid.c b/dpid/dpid.c index d8bfeb96..ff95b702 100644 --- a/dpid/dpid.c +++ b/dpid/dpid.c @@ -845,7 +845,7 @@ int service_match(const struct service *A, const char *B) if (A->name[A_len - 1] == '*') len = A_len - 1; - return(dStrncasecmp(A->name, B, len)); + return(dStrnAsciiCasecmp(A->name, B, len)); } /*! -- cgit v1.2.3