Mercurial > vim
comparison src/osdef.sh @ 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 | c4f8b1d48f20 |
children |
comparison
equal
deleted
inserted
replaced
19234:c1afd552f030 | 19235:befdf44737d1 |
---|---|
15 CC=cc | 15 CC=cc |
16 fi | 16 fi |
17 if test -z "$srcdir"; then | 17 if test -z "$srcdir"; then |
18 srcdir=. | 18 srcdir=. |
19 fi | 19 fi |
20 | |
21 # Make sure collation works as expected | |
22 # swedish range [a-z] does not match 'w' | |
23 export LC_COLLATE=C | |
24 export LC_ALL= | |
20 | 25 |
21 rm -f core* *.core | 26 rm -f core* *.core |
22 | 27 |
23 cat << EOF > osdef0.c | 28 cat << EOF > osdef0.c |
24 #ifndef __APPLE__ | 29 #ifndef __APPLE__ |