diff options
author | Bram Moolenaar <Bram@vim.org> | 2020-01-29 22:29:40 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2020-01-29 22:29:40 +0100 |
commit | e258368b4fb22fe5fc9bf510ac303a3542ff8e83 (patch) | |
tree | 4c26635b2ab99d74eeda3d6bb932dfb6c46d98f1 /src/osdef.sh | |
parent | db661fb95dc41b7a9438cf3cd4e77f8410bc81c0 (diff) | |
download | vim-git-e258368b4fb22fe5fc9bf510ac303a3542ff8e83.tar.gz |
patch 8.2.0176: generating os headers does not work for Swedishv8.2.0176
Problem: Generating os headers does not work for Swedish.
Solution: Set the locale to C. (Christian Brabandt, closes #5258)
Diffstat (limited to 'src/osdef.sh')
-rwxr-xr-x | src/osdef.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/osdef.sh b/src/osdef.sh index 59ef55d04..ead1aeff3 100755 --- 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 |