Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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
Werner Almesberger authored January 27, 2012

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  src/compiler/idgen
2  src/compiler/idgen
@@ -40,7 +40,7 @@ cat <<EOF >$f.inc
40 40
 
41 41
 EOF
42 42
 
43  
-sed 's/#.*//;/^ *$/d' $1 | sort | {
  43
+sed 's/#.*//;/^ *$/d' $1 | LANG=C sort | {
44 44
 	i=0
45 45
 	while read n; do
46 46
 		set - $n

0 notes on commit 619f863

Please sign in to comment.
Something went wrong with that request. Please try again.