commit | edbd2b75e9ead76e8e8f3b4a4c8d30a845e3a005 | [log] [tgz] |
---|---|---|
author | Martin Storsjö <martin@martin.st> | Mon Apr 22 14:57:21 2024 +0300 |
committer | Martin Storsjö <martin@martin.st> | Thu Apr 25 23:52:35 2024 +0300 |
tree | 414ceee3aa01824564c7cf1edf12d71ee978e4ff | |
parent | 53c4889a9c792d5111a9e50976f00f1a035b1ad7 [diff] |
crt: Use the right options in the UCRT non-inline _snwprintf In the inline form of _snwprintf, we set _CRT_INTERNAL_PRINTF_LEGACY_VSPRINTF_NULL_TERMINATION, but in the non-inline version, we just called vsnwprintf, which doesn't set that option. Instead call __stdio_common_vswprintf directly, with the right options. The previous form stemmed from the original UCRT implementation in bc6a87488995675ae80c312e3585cb1ace739b43. Signed-off-by: Martin Storsjö <martin@martin.st>