# HG changeset patch # User Christian Brabandt # Date 1530646207 -7200 # Node ID 9ff35e1444671c18cd1fa8f47295b6d1bf400886 # Parent 73bc88f9115f2a729727b75c1dba6cb8e9a806d3 patch 8.1.0146: when $LANG is set the compiler test may fail commit https://github.com/vim/vim/commit/f0447e89a52885630947510f2d1b55f665a1a20e Author: Bram Moolenaar Date: Tue Jul 3 21:26:38 2018 +0200 patch 8.1.0146: when $LANG is set the compiler test may fail Problem: When $LANG is set the compiler test may fail. Solution: Unset $LANG. diff --git a/src/testdir/test_compiler.vim b/src/testdir/test_compiler.vim --- a/src/testdir/test_compiler.vim +++ b/src/testdir/test_compiler.vim @@ -5,6 +5,11 @@ func Test_compiler() return endif + " $LANG changes the output of Perl. + if $LANG != '' + unlet $LANG + endif + e Xfoo.pl compiler perl call assert_equal('perl', b:current_compiler) diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -790,6 +790,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 146, +/**/ 145, /**/ 144,