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