Avoid an endless recursion.
author |
Bruno Haible <bruno@clisp.org> |
date |
Sun, 11 Mar 2007 12:05:24 +0000 |
parents |
0bf5cb89a6b9 |
children |
6840759b4ce2 |
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 (snprintf): Undefine. Avoids an endless recursion.
+
2007-03-11 Bruno Haible <bruno@clisp.org>
* gnulib-tool (func_create_megatestdir): Create also an autobuild
--- a/lib/vasnprintf.c
+++ b/lib/vasnprintf.c
@@ -110,6 +110,8 @@
# else
/* Unix. */
# define SNPRINTF snprintf
+ /* Here we need to call the native snprintf, not rpl_snprintf. */
+# undef snprintf
# endif
#endif