mirror of
https://git.code.sf.net/p/mingw-w64/mingw-w64
synced 2024-11-26 19:33:27 +08:00
8c2fb70467
Per MS documentation, macros _stprintf and _vstprintf always expands to s(w)printf function variant which does not take buffer size argument. https://learn.microsoft.com/en-us/cpp/c-runtime-library/reference/sprintf-sprintf-l-swprintf-swprintf-l-swprintf-l So _stprintf() expands either to C89 sprintf() function or to MS-specific _swprintf() function. C95 swprintf() takes buffer size argument and so, it is not compatible for _stprintf() and cannot be used. So replace swprintf by _swprintf in _UNICODE mode of _stprintf expansion. Signed-off-by: Martin Storsjö <martin@martin.st> |
||
---|---|---|
build-aux | ||
COPYING.MinGW-w64 | ||
COPYING.MinGW-w64-runtime | ||
mingw-w64-crt | ||
mingw-w64-doc | ||
mingw-w64-headers | ||
mingw-w64-libraries | ||
mingw-w64-tools | ||
.gitignore | ||
aclocal.m4 | ||
AUTHORS | ||
config.h.in | ||
configure | ||
configure.ac | ||
COPYING | ||
DISCLAIMER | ||
DISCLAIMER.PD | ||
Makefile.am | ||
Makefile.in |