Package: dash
Version 0.5.3-7

When LC_ALL is set to something like en_GB.UTF-8 then dash makes the
builtincmd structure in the wrong lexical order, breaking bsearch,
specifically the truecmd :

$ :
dash: :: not found

The attached patch addresses the issue.

Thanks

Roy Marples
--- dash-0.5.3.orig/src/mkbuiltins	2005-11-26 03:17:55.000000000 +0000
+++ dash-0.5.3/src/mkbuiltins	2007-03-15 21:23:51.448422603 +0000
@@ -65,7 +65,7 @@
 		if ($i ~ /^-/)
 			line = $(++i) "\t" line
 		print line
-	}}' $temp | sort -k 1,1 | tee $temp2 | awk '{
+	}}' $temp | LC_ALL=C sort -k 1,1 | tee $temp2 | awk '{
 		opt = ""
 		if (NF > 2) {
 			opt = substr($2, 2)

Reply via email to