X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=ztest%2Fztest.c;h=3c96d910da5fb20903a6b55b5f0046f12c7ffb92;hb=66dd1c1a5916fa62a186ba7d95804aa5a3fe6ca2;hp=f27cb92f4bf44ff4debf2f38fb87c4dc52286769;hpb=d0e351c12fff564d876958e860338d43716dc269;p=yaz-moved-to-github.git diff --git a/ztest/ztest.c b/ztest/ztest.c index f27cb92..3c96d91 100644 --- a/ztest/ztest.c +++ b/ztest/ztest.c @@ -1,5 +1,5 @@ /* 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 @@ -13,7 +13,6 @@ #include #include #include -#include #if HAVE_SYS_TIME_H #include @@ -1010,8 +1009,8 @@ int ztest_scan(void *handle, bend_scan_rr *q) strcpy(term, "0"); for (p = term; *p; p++) - if (islower(*(unsigned char *) p)) - *p = toupper(*p); + if (yaz_islower(*p)) + *p = yaz_toupper(*p); fseek(f, 0, SEEK_SET); q->num_entries = 0;