Skip to content

Commit bbd9fc4

Browse files
committed
mingw: let's use gettext with MSYS2
This solves two problems: - we now have proper localisation even on Windows - we sidestep the infamous "BUG: your vsnprintf is broken (returned -1)" message when running "git init" (which otherwise prevents the entire test suite from running) because libintl.h overrides vsnprintf() with libintl_vsnprintf() [*1*] The latter issue is rather crucial, as *no* test passes in Git for Windows without this fix. Footnote *1*: gettext_git=http://git.savannah.gnu.org/cgit/gettext.git $gettext_git/tree/gettext-runtime/intl/libgnuintl.in.h#n380 Signed-off-by: Johannes Schindelin <[email protected]>
1 parent fa5d935 commit bbd9fc4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

config.mak.uname

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -560,7 +560,7 @@ else
560560
NO_R_TO_GCC_LINKER = YesPlease
561561
INTERNAL_QSORT = YesPlease
562562
HAVE_LIBCHARSET_H = YesPlease
563-
NO_GETTEXT = YesPlease
563+
NO_GETTEXT =
564564
USE_LIBPCRE= YesPlease
565565
NO_CURL =
566566
USE_NED_ALLOCATOR = YesPlease

0 commit comments

Comments
 (0)