diff lib/vasnprintf.c @ 8417:ee40afd85f2c

Avoid an endless recursion.
author Bruno Haible <bruno@clisp.org>
date Sun, 11 Mar 2007 12:05:24 +0000
parents 655fca11a0e6
children ec3450ce9889
line wrap: on
line diff
--- 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