From b6be42e837844cce5283f42fcfac31e6d66a277d Mon Sep 17 00:00:00 2001 From: Jing Yu Date: Sat, 15 Jan 2011 13:36:03 -0800 Subject: 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 --- gcc-4.4.3/README.google | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'gcc-4.4.3/README.google') 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 -- cgit v1.2.3