Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
compiler: set LANG=C before running "sort" in idgen
Avoids i18n insanity, like sorting _ between x and z.
  • Loading branch information
wpwrak committed Jan 27, 2012
1 parent d95fbf1 commit 619f863
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/compiler/idgen
Expand Up @@ -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
Expand Down

0 comments on commit 619f863

Please sign in to comment.