projects
/
gnulib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0fd7626
)
Use the system's sprintf function.
author
Bruno Haible
<bruno@clisp.org>
Sun, 11 Mar 2007 22:55:55 +0000
(22:55 +0000)
committer
Bruno Haible
<bruno@clisp.org>
Sun, 11 Mar 2007 22:55:55 +0000
(22:55 +0000)
ChangeLog
patch
|
blob
|
history
lib/vasnprintf.c
patch
|
blob
|
history
diff --git
a/ChangeLog
b/ChangeLog
index
f3ea301
..
7d34cd2
100644
(file)
--- a/
ChangeLog
+++ b/
ChangeLog
@@
-1,5
+1,9
@@
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
initializers in SunPRO C and Compaq C compilers.
diff --git
a/lib/vasnprintf.c
b/lib/vasnprintf.c
index
6c328ae
..
34d2a46
100644
(file)
--- 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)