summaryrefslogtreecommitdiff
path: root/libc/malloc_debug/malloc_debug.cpp
diff options
context:
space:
mode:
authorDan Albert <danalbert@google.com>2017-02-21 15:54:58 -0800
committerDan Albert <danalbert@google.com>2017-02-21 15:56:37 -0800
commit5c15b8cf43b21528dec09a98ce34b2753e696ba3 (patch)
treede39eb2dad33ef21de00534f38e311415ac73112 /libc/malloc_debug/malloc_debug.cpp
parent40854235256c3f51f9ea866f5f8ef03240c00123 (diff)
Fix pre-L MB_CUR_MAX.
The default locale is POSIX, not C.UTF-8. POSIX explicitly states that MB_CUR_MAX is 1 for the POSIX locale: http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/stdlib.h.html Test: Made change in the NDK, built libc++ against it, ran NDK libc++ tests. Bug: None Change-Id: Ic2f6f96aa4a7f20d619030f41323831d01002715
Diffstat (limited to 'libc/malloc_debug/malloc_debug.cpp')
0 files changed, 0 insertions, 0 deletions