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