Skip to content

Commit 619f863

Browse files
committedJan 27, 2012
compiler: set LANG=C before running "sort" in idgen
Avoids i18n insanity, like sorting _ between x and z.
1 parent d95fbf1 commit 619f863

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/compiler/idgen

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ cat <<EOF >$f.inc
4040
4141
EOF
4242

43-
sed 's/#.*//;/^ *$/d' $1 | sort | {
43+
sed 's/#.*//;/^ *$/d' $1 | LANG=C sort | {
4444
i=0
4545
while read n; do
4646
set - $n

0 commit comments

Comments
 (0)
Please sign in to comment.