projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e2b2186
)
Fix classic_locale for Android.
author
Dan Albert
<danalbert@google.com>
Tue, 22 Jul 2014 17:32:56 +0000
(17:32 +0000)
committer
Dan Albert
<danalbert@google.com>
Tue, 22 Jul 2014 17:32:56 +0000
(17:32 +0000)
Android's classic_locale begins at _ctype_ + 1.
llvm-svn: 213672
libcxx/src/locale.cpp
patch
|
blob
|
history
diff --git
a/libcxx/src/locale.cpp
b/libcxx/src/locale.cpp
index
fc314ca
..
148fe42
100644
(file)
--- a/
libcxx/src/locale.cpp
+++ b/
libcxx/src/locale.cpp
@@
-1038,7
+1038,7
@@
ctype<char>::classic_table() _NOEXCEPT
#elif defined(_AIX)
return (const unsigned int *)__lc_ctype_ptr->obj->mask;
#elif defined(__ANDROID__)
- return _ctype_;
+ return _ctype_
+ 1
;
#else
// Platform not supported: abort so the person doing the port knows what to
// fix