Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

compiler: set LANG=C before running "sort" in idgen

Avoids i18n insanity, like sorting _ between x and z.
  • Loading branch information...
commit 619f8639193ae70cf9c373befd3772f3d95218c7 1 parent d95fbf1
@wpwrak wpwrak authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/compiler/idgen
View
2  src/compiler/idgen
@@ -40,7 +40,7 @@ cat <<EOF >$f.inc
EOF
-sed 's/#.*//;/^ *$/d' $1 | sort | {
+sed 's/#.*//;/^ *$/d' $1 | LANG=C sort | {
i=0
while read n; do
set - $n
Please sign in to comment.
Something went wrong with that request. Please try again.