在 2026-7-6 05:35, Pali Rohár 写道:
Error 26 prints string: not enough space for stdio initialization --- mingw-w64-crt/crt/crtexe.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)diff --git a/mingw-w64-crt/crt/crtexe.c b/mingw-w64-crt/crt/crtexe.c index 86c3842f6162..66fad2c8cb29 100644 --- a/mingw-w64-crt/crt/crtexe.c +++ b/mingw-w64-crt/crt/crtexe.c @@ -209,7 +209,7 @@ __tmainCRTStartup (void) * Here we add an exit handler to flush streams safely. */ if (atexit (safe_flush) != 0) - abort (); + _amsg_exit (26); /* _RT_STDIOINIT */_pei386_runtime_relocator ();_set_invalid_parameter_handler (__mingw_invalidParameterHandler);
Thanks for the patch. Pushed now. -- Best regards, LIU Hao
OpenPGP_signature.asc
Description: OpenPGP digital signature
_______________________________________________ Mingw-w64-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
