From: Bruno Haible Date: Sun, 11 Mar 2007 22:55:55 +0000 (+0000) Subject: Use the system's sprintf function. X-Git-Tag: cvs-readonly~794 X-Git-Url: http://erislabs.org.uk/gitweb/?a=commitdiff_plain;h=be32efb04886e87c01ffcf2b9cccfc85a5d77f81;p=gnulib.git Use the system's sprintf function. --- 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)