[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: new module 'sprintf-posix'
From: |
Bruno Haible |
Subject: |
Re: new module 'sprintf-posix' |
Date: |
Sun, 11 Mar 2007 23:55:49 +0100 |
User-agent: |
KMail/1.5.4 |
This avoids a useless reentrancy of the vasnprintf code:
fprintf -> vasnprintf -> sprintf -> vasnprintf.
2007-03-11 Bruno Haible <address@hidden>
* 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)