From 710f61ba2a1eedd7f3b957453a60309d2cdfebda Mon Sep 17 00:00:00 2001 From: NAKAMURA Takumi Date: Tue, 26 Apr 2011 13:42:39 +0900 Subject: [PATCH] include/__locale: Tweak __tab_. FIXME: wip! wip! --- include/__locale | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/__locale b/include/__locale index 67f191c0..bf0d0e1b 100644 --- a/include/__locale +++ b/include/__locale @@ -451,7 +451,7 @@ public: _LIBCPP_ALWAYS_INLINE bool is(mask __m, char_type __c) const { - return isascii(__c) ? __tab_[__c] & __m : false; + return isascii(__c) ? (__tab_ ? __tab_[__c] & __m : isctype(__c, __m)) : false; } _LIBCPP_ALWAYS_INLINE