OSDN Git Service

Report errors to the log, not just stderr.
authorElliott Hughes <enh@google.com>
Sat, 28 Jul 2012 00:40:29 +0000 (17:40 -0700)
committerElliott Hughes <enh@google.com>
Sat, 28 Jul 2012 00:43:38 +0000 (17:43 -0700)
commit52d6233296ec84eb5b58fcbf7bc9da4b96a943aa
treeb0186ce62c2aedc309501f0bfc641a291d91d3e6
parenta7916509a3446afd0e863b03e4204cee73e81555
Report errors to the log, not just stderr.

In particular this affects assert(3) and __cxa_pure_virtual, both of
which have managed to confuse people this week by apparently aborting
without reason. (Because stderr goes nowhere, normally.)

Bug: 6852995
Bug: 6840813
Change-Id: I7f5d17d5ddda439e217b7932096702dc013b9142
libc/bionic/stubs.c
libc/private/bionic_atomic_inline.h
libc/stdlib/assert.c
libc/unistd/abort.c
libstdc++/Android.mk
libstdc++/src/one_time_construction.cpp
libstdc++/src/pure_virtual.cpp