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
Change-Id: I76a51dcfea8d7e41c4ace5178b24bf42c1f7e26e
4 files changed
tree: 21dacb55c01c9c2c1c72e9dee9d6e361461934e1
  1. gcc-4.2.1/
  2. gcc-4.3.1/
  3. gcc-4.4.0/
  4. gcc-4.4.3/