X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=functions%2Fctype%2Fisupper.c;h=9d45a746b3415192ddcb0f7fcb49128cfc57c3a7;hb=ed01ab8d9fcc47f6a4089ef72a73ef7a084d1ed3;hp=76c1ff19463d539db2a7989e1af2e9ac18b1ad67;hpb=3a92b78272cd3f0f413bb1cfc0c77deef49967fd;p=pdclib.old diff --git a/functions/ctype/isupper.c b/functions/ctype/isupper.c index 76c1ff1..9d45a74 100644 --- a/functions/ctype/isupper.c +++ b/functions/ctype/isupper.c @@ -9,10 +9,11 @@ #include #ifndef REGTEST +#include <_PDCLIB_locale.h> int isupper( int c ) { - return ( _PDCLIB_locale_info.ctype[c].flags & _PDCLIB_CTYPE_UPPER ); + return ( _PDCLIB_threadlocale()->_CType[c].flags & _PDCLIB_CTYPE_UPPER ); } #endif