Re: major formatted output function bug with %c and the value 0

2023-12-13 Thread marco . bodrato
Ciao, 13 dic 2023, 15:53 da vinc...@vinc17.net: > On 2023-12-03 20:19:10 +0100, Vincent Lefevre wrote: > >> With GMP 6.3.0, the formatted output functions do not handle %c >> with the value 0 correctly. For gmp_sprintf, the return value is >> incorrect. >> > In printf/sprintffuns.c, function

Re: major formatted output function bug with %c and the value 0

2023-12-13 Thread Vincent Lefevre
On 2023-12-03 20:19:10 +0100, Vincent Lefevre wrote: > With GMP 6.3.0, the formatted output functions do not handle %c > with the value 0 correctly. For gmp_sprintf, the return value is > incorrect. In printf/sprintffuns.c, function gmp_sprintf_format(), I suppose that vsprintf (buf, fmt, ap);