X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=ztest%2Fztest.c;h=3c96d910da5fb20903a6b55b5f0046f12c7ffb92;hp=88e0a21096a55ff2ec009db5714ca79bb0605142;hb=4f3bcae93d51a26709c12b51261c3d95af610cb2;hpb=1fbd038d97d6e1bfe97270ecc17cca123bcc435c diff --git a/ztest/ztest.c b/ztest/ztest.c index 88e0a21..3c96d91 100644 --- a/ztest/ztest.c +++ b/ztest/ztest.c @@ -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;