X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Fcclstr.c;h=a97064334c1256bafd820ce9dd19c9d784420e32;hb=3c287bc1d48ee6a1f300054c2cebd0ba312bd5b9;hp=1f466161b98aea4f92fb8f1c5950efe554a0052f;hpb=88d3bedf772316f87e1996f655ccf8d1e2589755;p=yaz-moved-to-github.git diff --git a/src/cclstr.c b/src/cclstr.c index 1f46616..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-2010 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;