Source: dsdo
Version: 1.6.25-1
Severity: normal
Tags: patch

Setting LC_COLLATE=POSIX may be insufficient to set POSIX collation order, because this variable can be overridden by LC_ALL.

Reference: http://www.opengroup.org/onlinepubs/007908799/xbd/envvar.html

--
Jakub Wilk
diff -Nru dsdo-1.6.25/debian/patches/1006_improve_myspell_rules.patch dsdo-1.6.25/debian/patches/1006_improve_myspell_rules.patch
--- dsdo-1.6.25/debian/patches/1006_improve_myspell_rules.patch	2010-05-13 09:54:56.000000000 +0200
+++ dsdo-1.6.25/debian/patches/1006_improve_myspell_rules.patch	2010-12-17 20:40:10.000000000 +0100
@@ -35,7 +35,7 @@
 +words-$(language_code).complete: ../ispell/words-$(language_code).complete ../words-$(language_code).no-compound
 +	sort -u ../ispell/words-$(language_code).complete \
 +		| bash ../no-compound_marking ../words-$(language_code).no-compound \
-+		| LC_COLLATE=POSIX sort -u \
++		| LC_ALL=POSIX sort -u \
 +		> $@
 +
 +words-$(language_code).complete.cnt: words-$(language_code).complete

Reply via email to