diff options
author | Elliott Hughes <enh@google.com> | 2013-03-15 15:30:25 -0700 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2013-03-15 16:12:58 -0700 |
commit | 8f2a5a0b40fc82126c691d5c30131d908772aab7 (patch) | |
tree | 0b29a5dc82395c076387edb5af9ca271a91264c0 /libstdc++ | |
parent | e23ed8c6441389a79c6504295184f7249e01a197 (diff) | |
download | bionic-8f2a5a0b40fc82126c691d5c30131d908772aab7.zip bionic-8f2a5a0b40fc82126c691d5c30131d908772aab7.tar.gz bionic-8f2a5a0b40fc82126c691d5c30131d908772aab7.tar.bz2 |
Clean up internal libc logging.
We only need one logging API, and I prefer the one that does no
allocation and is thus safe to use in any context.
Also use O_CLOEXEC when opening the /dev/log files.
Move everything logging-related into one header file.
Change-Id: Ic1e3ea8e9b910dc29df351bff6c0aa4db26fbb58
Diffstat (limited to 'libstdc++')
-rw-r--r-- | libstdc++/src/pure_virtual.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libstdc++/src/pure_virtual.cpp b/libstdc++/src/pure_virtual.cpp index affb80f..6b5e328 100644 --- a/libstdc++/src/pure_virtual.cpp +++ b/libstdc++/src/pure_virtual.cpp @@ -2,7 +2,7 @@ #include <assert.h> extern "C" void __cxa_pure_virtual() { - // We can't call __libc_android_log_write from libstdc++ because it's private, so cheat. + // We can't call __libc_format_log from libstdc++ because it's hidden and in libc, so cheat. assert(!"Pure virtual function called. Are you calling virtual methods from a destructor?"); /* NOTREACHED */ } |