Compare commits
25 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
96f126b9e8 | ||
|
|
7c97b3ce6f | ||
|
|
5415e8841d | ||
|
|
7d0f6af56a | ||
|
|
d2a2b14562 | ||
|
|
e75965016d | ||
|
|
3ba994d21e | ||
|
|
76fe67f7a6 | ||
|
|
d0a9c59bb9 | ||
|
|
1a20e57e37 | ||
|
|
a4dcf54b23 | ||
|
|
bad86a1622 | ||
|
|
4a4eaa3bf1 | ||
|
|
b3fdb18d3f | ||
|
|
619c2c22d8 | ||
|
|
2d7ecd8fda | ||
|
|
e3582e5899 | ||
|
|
6facac3fe9 | ||
|
|
ddab15593b | ||
|
|
f596e63a0c | ||
|
|
5ecb06d475 | ||
|
|
297be35c48 | ||
|
|
b3e839d7bc | ||
|
|
a25261ee9c | ||
|
|
5bd8211ac9 |
@@ -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
|
||||
|
||||
@@ -288,12 +288,12 @@ __stdoutbuf<_CharT>::sync()
|
||||
__r = __cv_->unshift(__st_, __extbuf,
|
||||
__extbuf + sizeof(__extbuf),
|
||||
__extbe);
|
||||
if (__r == codecvt_base::error)
|
||||
return -1;
|
||||
size_t __nmemb = static_cast<size_t>(__extbe - __extbuf);
|
||||
if (fwrite(__extbuf, 1, __nmemb, __file_) != __nmemb)
|
||||
return -1;
|
||||
} while (__r == codecvt_base::partial);
|
||||
if (__r == codecvt_base::error)
|
||||
return -1;
|
||||
if (fflush(__file_))
|
||||
return -1;
|
||||
return 0;
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user