Use the system's sprintf function.
author |
Bruno Haible <bruno@clisp.org> |
date |
Sun, 11 Mar 2007 22:55:55 +0000 |
parents |
5fc4383618f0 |
children |
280b8a0ee061 |
files |
ChangeLog lib/vasnprintf.c |
diffstat |
2 files changed, 6 insertions(+), 0 deletions(-)
[+]
|
line diff
--- 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
--- a/lib/vasnprintf.c
+++ b/lib/vasnprintf.c
@@ -114,6 +114,8 @@
# 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)