Permalink
Browse files

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

Avoids i18n insanity, like sorting _ between x and z.
  • Loading branch information...
1 parent d95fbf1 commit 619f8639193ae70cf9c373befd3772f3d95218c7 @wpwrak wpwrak committed Jan 27, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/compiler/idgen
View
@@ -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

0 comments on commit 619f863

Please sign in to comment.