# HG changeset patch # User Bram Moolenaar # Date 1580333405 -3600 # Node ID befdf44737d126ec29f598e0f765b236ae52e2a3 # Parent c1afd552f030b87c1a560324a5d0ebf2b6136591 patch 8.2.0176: generating os headers does not work for Swedish Commit: https://github.com/vim/vim/commit/e258368b4fb22fe5fc9bf510ac303a3542ff8e83 Author: Bram Moolenaar 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) diff --git a/src/osdef.sh b/src/osdef.sh --- 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 diff --git a/src/version.c b/src/version.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,