From: Bruno Haible Date: Sun, 11 Mar 2007 12:05:24 +0000 (+0000) Subject: Avoid an endless recursion. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=222671802804973eba68a30cd0b1efaa3b7a50ce;p=pspp Avoid an endless recursion. --- diff --git a/ChangeLog b/ChangeLog index e996077b0f..c3b03d6678 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2007-03-11 Bruno Haible + + * lib/vasnprintf.c (snprintf): Undefine. Avoids an endless recursion. + 2007-03-11 Bruno Haible * gnulib-tool (func_create_megatestdir): Create also an autobuild diff --git a/lib/vasnprintf.c b/lib/vasnprintf.c index a0523ec1fb..6c328aeb0a 100644 --- a/lib/vasnprintf.c +++ b/lib/vasnprintf.c @@ -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