]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
patch 8.2.0176: generating os headers does not work for Swedish v8.2.0176
authorBram Moolenaar <Bram@vim.org>
Wed, 29 Jan 2020 21:29:40 +0000 (22:29 +0100)
committerBram Moolenaar <Bram@vim.org>
Wed, 29 Jan 2020 21:29:40 +0000 (22:29 +0100)
Problem:    Generating os headers does not work for Swedish.
Solution:   Set the locale to C. (Christian Brabandt, closes #5258)

src/osdef.sh
src/version.c

index 59ef55d046d6e82535f8ce5cc482bea9149c0434..ead1aeff32312eb91240cbc508d46a517d418925 100755 (executable)
@@ -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
index 0306e4722395bfbba6d94abd32819cede543ff11..fbb2ca554e75d33c6386f4b8b430c1b920d820bb 100644 (file)
@@ -742,6 +742,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    176,
 /**/
     175,
 /**/