Use the system's sprintf function.
authorBruno Haible <bruno@clisp.org>
Sun, 11 Mar 2007 22:55:55 +0000 (22:55 +0000)
committerBruno Haible <bruno@clisp.org>
Sun, 11 Mar 2007 22:55:55 +0000 (22:55 +0000)
ChangeLog
lib/vasnprintf.c

index f3ea3014d602eb6a695dce950e640ca6fe10984d..7d34cd2142ae30492b8196e0a08429c03e4d5a96 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2007-03-11  Bruno Haible  <bruno@clisp.org>
+
+       * lib/vasnprintf.c (sprintf): Undefine.
+
 2007-03-11  Bruno Haible  <bruno@clisp.org>
 
        * lib/isnan.c (rpl_isnan, rpl_isnanl): Work around bug regarding
index 6c328aeb0a4b3e01b0b912b1d0450b9149bde1cc..34d2a4687638ae7fe12fe496a8c289159673bc20 100644 (file)
@@ -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)