From be32efb04886e87c01ffcf2b9cccfc85a5d77f81 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Sun, 11 Mar 2007 22:55:55 +0000 Subject: [PATCH] Use the system's sprintf function. --- ChangeLog | 4 ++++ lib/vasnprintf.c | 2 ++ 2 files changed, 6 insertions(+) diff --git a/ChangeLog b/ChangeLog index f3ea3014d..7d34cd214 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2007-03-11 Bruno Haible + * lib/vasnprintf.c (sprintf): Undefine. + +2007-03-11 Bruno Haible + * lib/isnan.c (rpl_isnan, rpl_isnanl): Work around bug regarding initializers in SunPRO C and Compaq C compilers. diff --git a/lib/vasnprintf.c b/lib/vasnprintf.c index 6c328aeb0..34d2a4687 100644 --- a/lib/vasnprintf.c +++ b/lib/vasnprintf.c @@ -114,6 +114,8 @@ local_wcslen (const wchar_t *s) # undef snprintf # endif #endif +/* Here we need to call the native sprintf, not rpl_sprintf. */ +#undef sprintf CHAR_T * VASNPRINTF (CHAR_T *resultbuf, size_t *lengthp, const CHAR_T *format, va_list args) -- 2.11.0