summaryrefslogtreecommitdiff
path: root/vsprintf.c
Commit message (Collapse)AuthorAge
* Fix build with Bionic libcDmitry V. Levin2014-02-26
| | | | | | | | | | | | | | Add generic tests for fopen64 and fputs_unlocked functions to fix build with Bionic libc that does not provide them. * configure.ac (AC_CHECK_FUNCS): Add fopen64 and fputs_unlocked. * strace.c [_LARGEFILE64_SOURCE]: Use fopen instead of fopen64 if !HAVE_FOPEN64. Use fputs instead of fputs_unlocked if !HAVE_FPUTS_UNLOCKED. * vsprintf.c: Use fputs instead of fputs_unlocked if !HAVE_FPUTS_UNLOCKED. Reported-by: Elliott Hughes <enh@google.com>
* Group USE_CUSTOM_PRINTF define with other tweakablesDenys Vlasenko2013-07-16
| | | | | | No code changes. Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* strace_vfprintf: if malloc fails, exit gracefullyDenys Vlasenko2013-03-05
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* * vsprintf.c: Check for USE_CUSTOM_PRINTF earlier.Dmitry V. Levin2012-05-01
|
* Add custom (faster) vfprintf implementation (disabled by default)Denys Vlasenko2012-04-16
* defs.h: Declare strace_vfprintf either as a alias to vfprintf or as a bona fide function. USE_CUSTOM_PRINTF define controls whether we use strace_vfprintf. By default, we don't. * strace.c (tprintf): Call strace_vfprintf instead of vfprintf. * vsprintf.c: New file, implements strace_vfprintf. Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>