forked from aniani/vim
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 #5258)
This commit is contained in:
@@ -18,6 +18,11 @@ if test -z "$srcdir"; then
|
|||||||
srcdir=.
|
srcdir=.
|
||||||
fi
|
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
|
rm -f core* *.core
|
||||||
|
|
||||||
cat << EOF > osdef0.c
|
cat << EOF > osdef0.c
|
||||||
|
@@ -742,6 +742,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
176,
|
||||||
/**/
|
/**/
|
||||||
175,
|
175,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user