X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Fcclstr.c;h=a97064334c1256bafd820ce9dd19c9d784420e32;hb=b756b711841bac38e5b69baa51939ca9e1c01adb;hp=884623c734b3012e464b48daefbe4db76796dc3c;hpb=379504a233e3e2cc85bca1e7b6d864f1395aec7c;p=yaz-moved-to-github.git diff --git a/src/cclstr.c b/src/cclstr.c index 884623c..a970643 100644 --- a/src/cclstr.c +++ b/src/cclstr.c @@ -1,12 +1,15 @@ /* This file is part of the YAZ toolkit. - * Copyright (C) 1995-2009 Index Data + * Copyright (C) 1995-2011 Index Data * See the file LICENSE for details. */ /** * \file cclstr.c * \brief Implements CCL string compare utilities */ -#include +#if HAVE_CONFIG_H +#include +#endif +#include #include #include @@ -14,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;