X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=ztest%2Fztest.c;h=3c96d910da5fb20903a6b55b5f0046f12c7ffb92;hb=33a39e24078032c9f726cacdf32c092fa0fe878d;hp=88e0a21096a55ff2ec009db5714ca79bb0605142;hpb=43a9d38d20c1b1bcd1a03b2445a501d27526bd35;p=yaz-moved-to-github.git 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;