diff options
Diffstat (limited to 'gl/lib/vasnprintf.c')
-rw-r--r-- | gl/lib/vasnprintf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gl/lib/vasnprintf.c b/gl/lib/vasnprintf.c index f1f47f0d..b3854e3e 100644 --- a/gl/lib/vasnprintf.c +++ b/gl/lib/vasnprintf.c @@ -4917,7 +4917,7 @@ VASNPRINTF (DCHAR_T *resultbuf, size_t *lengthp, Windows Vista, the use of %n in format strings by default crashes the program. See <https://gcc.gnu.org/ml/gcc/2007-06/msg00122.html> and - <https://msdn.microsoft.com/en-us/library/ms175782.aspx> + <https://docs.microsoft.com/en-us/cpp/c-runtime-library/reference/set-printf-count-output> So we should avoid %n in this situation. */ fbp[1] = '\0'; # endif |