No description
Find a file
Elliott Hughes f1e83cc34a Use vsnprintf(3) in syslog(3).
It seemed like a clever trick to use the internal log message formatting
code in syslog(3), but on reflection that means you can't (for example)
format floating point numbers. This patch switches us over to using good
old vsnprintf(3), even though that requires us to jump through a few hoops.

There's no obvious way to unit test this, so I wrote a little program and
ran that.

(cherry-pick of b1b60c30bf321c0fc02264b953b5c16c49d34457.)

Bug: 14292866
Change-Id: I9c83500ba9cbb209b6f496067a91bf69434eeef5
2014-07-28 09:43:21 -07:00
benchmarks Start hiding "private/bionic_time.h". 2014-07-25 12:03:51 -07:00
libc Use vsnprintf(3) in syslog(3). 2014-07-28 09:43:21 -07:00
libdl Turn on -Wunused and fix the mistakes it uncovers. 2014-06-03 15:22:34 -07:00
libm Revert "Switch libm to building with clang." 2014-07-11 01:24:15 +00:00
libstdc++ Fix a couple of bugs in generate-NOTICE and regenerate the NOTICE files. 2014-07-22 21:29:00 -07:00
linker Fix global variable initialization for linker 2014-07-24 15:33:25 -07:00
tests Use vsnprintf(3) in syslog(3). 2014-07-28 09:43:21 -07:00
.gitignore Merge memory checking functionality from sandbox 2010-02-16 11:43:18 -08:00
ABI-bugs.txt PTHREAD_KEYS_MAX cleanup. 2013-12-12 12:51:08 -08:00
Android.mk Remove the simulator target from all makefiles. 2011-07-11 22:11:41 -07:00
CleanSpec.mk Make jemalloc the default choice. 2014-07-11 11:01:30 -07:00
HACKING.txt Rewrite syslog(3) to use Android logging. 2014-07-21 16:56:48 -07:00