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
This commit is contained in:
@@ -11,8 +11,8 @@
|
||||
#include <stddef.h>
|
||||
#include <sys/atomics.h>
|
||||
#include <endian.h>
|
||||
#include <bionic_futex.h>
|
||||
#include <bionic_atomic_inline.h>
|
||||
#include <private/bionic_futex.h>
|
||||
#include <private/bionic_atomic_inline.h>
|
||||
|
||||
// ARM C++ ABI and Itanium/x86 C++ ABI has different definition for
|
||||
// one time construction:
|
||||
|
||||
Reference in New Issue
Block a user