This avoids a useless reentrancy of the vasnprintf code: fprintf -> vasnprintf -> sprintf -> vasnprintf.
2007-03-11 Bruno Haible <[EMAIL PROTECTED]> * lib/vasnprintf.c (sprintf): Undefine. *** lib/vasnprintf.c 11 Mar 2007 12:05:24 -0000 1.27 --- lib/vasnprintf.c 11 Mar 2007 22:49:16 -0000 *************** *** 114,119 **** --- 114,121 ---- # undef snprintf # endif #endif + /* Here we need to call the native sprintf, not rpl_sprintf. */ + #undef sprintf CHAR_T * VASNPRINTF (CHAR_T *resultbuf, size_t *lengthp, const CHAR_T *format, va_list args)