X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=src%2Fcclstr.c;h=b457b6c1401dc735ec4d00c194530641912dc804;hp=7c1e3e99d677d8a6a12fd49006b70662d1f29530;hb=b06636208651777c08e2456bf3b5953fc3c0f2c2;hpb=43a9d38d20c1b1bcd1a03b2445a501d27526bd35 diff --git a/src/cclstr.c b/src/cclstr.c index 7c1e3e9..b457b6c 100644 --- a/src/cclstr.c +++ b/src/cclstr.c @@ -1,15 +1,15 @@ /* This file is part of the YAZ toolkit. - * Copyright (C) 1995-2011 Index Data + * Copyright (C) 1995-2013 Index Data * See the file LICENSE for details. */ -/** +/** * \file cclstr.c * \brief Implements CCL string compare utilities */ #if HAVE_CONFIG_H #include #endif -#include +#include #include #include @@ -17,7 +17,10 @@ static int ccli_toupper (int c) { - return toupper (c); + if (yaz_islower(c)) + return yaz_toupper(c); + else + return c; } int (*ccl_toupper)(int c) = NULL;