Re: [PATCH 1/2] MSVC: vsnprintf in Visual Studio 2015 doesn't need SNPRINTF_SIZE_CORR any more
- From
Sebastian Schuberth <sschuberth@gmail.com>
- Date
- Mar 29, 2016, 19:09 UTC
- Message-ID
- <CAHGBnuP1Y1F-CrQJx9zNKSv1KP7gH86WSKo7tbmcYT3Vf2cQ_g@mail.gmail.com>
- In-Reply-To
- <56FAAC78.2040304@cs-ware.de>
On Tue, Mar 29, 2016 at 6:25 PM, Sven Strickroth <sven@cs-ware.de> wrote:
> In MSVC2015 the behavior of vsnprintf was changed. > W/o this fix there is one character missing at the end.
How about adding a link to [1] in the commit message and quoting the central "Beginning with the UCRT in Visual Studio 2015 and Windows 10, vsnprintf is no longer identical to _vsnprintf. The vsnprintf function complies with the C99 standard; _vnsprintf is retained for backward compatibility" statement?
[1] https://msdn.microsoft.com/en-us/library/1kt27hek.aspx
-- Sebastian Schuberth