Code

Recent MinGW has a C99 implementation of snprintf functions
authorJohannes Sixt <j6t@kdbg.org>
Mon, 20 Jul 2009 20:15:07 +0000 (22:15 +0200)
committerJunio C Hamano <gitster@pobox.com>
Thu, 20 May 2010 23:13:10 +0000 (16:13 -0700)
Starting with MinGW 3.14, released end of 2007, a working snprintf
is available. This means we do not need our own replacement that works
around the broken implementation in Microsoft's C runtime.

People who build git in an old MinGW environment are expected to set
SNPRINTF_RETURNS_BOGUS in their config.mak. msysgit is sufficiently
recent, of course.

Signed-off-by: Johannes Sixt <j6t@kdbg.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Makefile

index eb1d1623c204c10c13ebc8ca60ca1a07ddef49df..7a014b127fc8d6539f38fb9639fbb13f77052144 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1026,7 +1026,6 @@ ifneq (,$(findstring MINGW,$(uname_S)))
        NO_STRTOUMAX = YesPlease
        NO_MKDTEMP = YesPlease
        NO_MKSTEMPS = YesPlease
-       SNPRINTF_RETURNS_BOGUS = YesPlease
        NO_SVN_TESTS = YesPlease
        NO_PERL_MAKEMAKER = YesPlease
        RUNTIME_PREFIX = YesPlease