changeset 19235:befdf44737d1 v8.2.0176

patch 8.2.0176: generating os headers does not work for Swedish Commit: https://github.com/vim/vim/commit/e258368b4fb22fe5fc9bf510ac303a3542ff8e83 Author: Bram Moolenaar <Bram@vim.org> Date: Wed Jan 29 22:29:40 2020 +0100 patch 8.2.0176: generating os headers does not work for Swedish Problem: Generating os headers does not work for Swedish. Solution: Set the locale to C. (Christian Brabandt, closes https://github.com/vim/vim/issues/5258)
author Bram Moolenaar <Bram@vim.org>
date Wed, 29 Jan 2020 22:30:05 +0100
parents c1afd552f030
children f34487e42001
files src/osdef.sh src/version.c
diffstat 2 files changed, 7 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/osdef.sh
+++ b/src/osdef.sh
@@ -18,6 +18,11 @@ if test -z "$srcdir"; then
   srcdir=.
 fi
 
+# Make sure collation works as expected
+# swedish range [a-z] does not match 'w'
+export LC_COLLATE=C
+export LC_ALL=
+
 rm -f core* *.core
 
 cat << EOF > osdef0.c
--- a/src/version.c
+++ b/src/version.c
@@ -743,6 +743,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    176,
+/**/
     175,
 /**/
     174,