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 e996077b0f145971dd07bfe7c0722f4f00c84fb7..c3b03d6678272a87b8e1e20384e63546bfe69118 100644 (file)
--- 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
index a0523ec1fb86488f1152e46c751f289902a0d617..6c328aeb0a4b3e01b0b912b1d0450b9149bde1cc 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