]> granicus.if.org Git - strace/commit
Fix build with Bionic libc
authorDmitry V. Levin <ldv@altlinux.org>
Wed, 26 Feb 2014 00:01:00 +0000 (00:01 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Wed, 26 Feb 2014 00:01:00 +0000 (00:01 +0000)
commitd354130b3ac060051b55cda46c45ab5f5574548d
treeb2ed90d03309de776cea1cdd1289288c33b9b914
parenta78d777c869829a3f0320e1793adb44fb57ac950
Fix build with Bionic libc

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>
configure.ac
strace.c
vsprintf.c