Avoid an endless recursion.
authorBruno Haible <bruno@clisp.org>
Sun, 11 Mar 2007 12:05:24 +0000 (12:05 +0000)
committerBruno Haible <bruno@clisp.org>
Sun, 11 Mar 2007 12:05:24 +0000 (12:05 +0000)
ChangeLog
lib/vasnprintf.c

index e996077..c3b03d6 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 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
        script, for submission to autobuild.josefsson.org.
 
index a0523ec..6c328ae 100644 (file)
@@ -110,6 +110,8 @@ local_wcslen (const wchar_t *s)
 # else
    /* Unix.  */
 #  define SNPRINTF snprintf
+   /* Here we need to call the native snprintf, not rpl_snprintf.  */
+#  undef snprintf
 # endif
 #endif