在 2020/3/11 4:32, Martin Storsjö 写道: > > Primarily for consistency, as this is what the WinSDK UCRT inline > functions do. > > If UCRTBASE_PRINTF_STANDARD_SNPRINTF_BEHAVIOUR is left out, > __stdio_common_vswprintf returns -1 if > UCRTBASE_PRINTF_LEGACY_VSPRINTF_NULL_TERMINATION is set, but returns -2 > if UCRTBASE_PRINTF_LEGACY_VSPRINTF_NULL_TERMINATION is left out. In > WinSDK UCRT inline functions, this is then normalized back to -1 before > returning. > >
Thanks for the information. The patch looks good to me. Please go ahead. -- Best regards, LH_Mouse
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Mingw-w64-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
