> Date: Thu, 06 Nov 2025 13:14:07 +0200 > From: Eli Zaretskii <[email protected]> > Cc: [email protected], [email protected], [email protected] > > Btw, stdio-consolesafe.c uses vasprintf, which mingw.org's MinGW > doesn't have. And Gnulib's vasprintf is huge, basically performing > all the formatting by itself. Which means there could be subtle > inconsistencies with other MinGW *printf functions. So that seems to > be a fly in the ointment...
A simple and perfectly acceptable solution for this conundrum would be to make stdio-consolesafe a no-op if HAVE_VASPRINTF is not defined or zero. That would leave people who use mingw.org's MinGW (most probably, a vanishingly small group) with the bug unsolved, while all the rest will have it fixed.
