aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.4.3/README.google
diff options
context:
space:
mode:
authorJing Yu <jingyu@google.com>2011-01-15 13:36:03 -0800
committerJing Yu <jingyu@google.com>2011-01-15 13:38:21 -0800
commitb6be42e837844cce5283f42fcfac31e6d66a277d (patch)
tree21dacb55c01c9c2c1c72e9dee9d6e361461934e1 /gcc-4.4.3/README.google
parent88e20bebc10f931336868b211ff40e3001f0664b (diff)
downloadtoolchain_gcc-b6be42e837844cce5283f42fcfac31e6d66a277d.tar.gz
toolchain_gcc-b6be42e837844cce5283f42fcfac31e6d66a277d.tar.bz2
toolchain_gcc-b6be42e837844cce5283f42fcfac31e6d66a277d.zip
libstdc++-v3: fix setlocale()-related crash.
The Android setlocale() returns NULL, which was not handled properly by the standard library code. Add a simple test the check for this condition. Bionic will fix this problem. Keep this patch local in order to be able to target previous/existing releases of the platform. Change-Id: I76a51dcfea8d7e41c4ace5178b24bf42c1f7e26e
Diffstat (limited to 'gcc-4.4.3/README.google')
-rw-r--r--gcc-4.4.3/README.google7
1 files changed, 7 insertions, 0 deletions
diff --git a/gcc-4.4.3/README.google b/gcc-4.4.3/README.google
index c6b3587b2..bfddb6db5 100644
--- a/gcc-4.4.3/README.google
+++ b/gcc-4.4.3/README.google
@@ -2111,3 +2111,10 @@ gcc/testsuite/g++.dg/init/ref15.C
Back port upstream fixes r156042 and r148110 to fix broken tests.
Owner: dougkwan
Status: in upstream.
+
+libstdc++-v3/config/locale/generic/c_locale.cc
+libstdc++-v3/config/locale/generic/c_locale.h
+libstdc++-v3/config/locale/generic/time_members.cc
+ Hanlde NULL return value of setlocale(), required by bionic.
+ Owner: jingyu
+ Status: local