From f0447e89a52885630947510f2d1b55f665a1a20e Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Tue, 3 Jul 2018 21:26:38 +0200 Subject: [PATCH] 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. --- src/testdir/test_compiler.vim | 5 +++++ src/version.c | 2 ++ 2 files changed, 7 insertions(+) diff --git a/src/testdir/test_compiler.vim b/src/testdir/test_compiler.vim index 29d02b213d..46c14d8bc3 100644 --- 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 index ea289c7ec7..cfc3b2309f 100644 --- a/src/version.c +++ b/src/version.c @@ -789,6 +789,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 146, /**/ 145, /**/