MSVC: vsnprintf in Visual Studio 2015 doesn't need SNPRINTF_SIZE_CORR any more
commitdae26d30f4dfff352fb401e5a24c2df1a0a339f0
authorSven Strickroth <sven@cs-ware.de>
Tue, 29 Mar 2016 16:25:28 +0000 (29 18:25 +0200)
committerJunio C Hamano <gitster@pobox.com>
Wed, 30 Mar 2016 18:13:01 +0000 (30 11:13 -0700)
treec1f8bd527931156a4919e2fd4a9e2226f0472f9d
parent90f7b16b3adc78d4bbabbd426fb69aa78c714f71
MSVC: vsnprintf in Visual Studio 2015 doesn't need SNPRINTF_SIZE_CORR any more

In MSVC2015 the behavior of vsnprintf was changed.
W/o this fix there is one character missing at the end.

Signed-off-by: Sven Strickroth <sven@cs-ware.de>
Acked-by: Johannes Schindelin <Johannes.Schindelin@gmx.de>
Acked-by: Sebastian Schuberth <sschuberth@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
compat/snprintf.c