X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=src%2Ftpath.c;h=b802c98033a0af6df45dfc91bfc58f9fdc85e644;hp=900552eadccf69ea3d6a57b0701aaed7b46d6857;hb=cf6bf2f04ed7e376bfd9a37f7ef4ab0366f46804;hpb=17144b85fb59bb8e0bdf1f8f634c339d88baf069 diff --git a/src/tpath.c b/src/tpath.c index 900552e..b802c98 100644 --- a/src/tpath.c +++ b/src/tpath.c @@ -129,7 +129,8 @@ int yaz_is_abspath(const char *p) #ifdef WIN32 if (*p == '\\') return 1; - if (*p && p[1] == ':' && isalpha(*p)) + if (*p && p[1] == ':' && + ((*p >= 'A' && *p <= 'Z') || (*p >= 'a' && *p <= 'z'))) return 1; #endif return 0;