diff --git a/ChangeLog b/ChangeLog index 5e90b8291..98061a860 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2010-02-24 Alexandre Duret-Lutz + + * src/sanity/style.test: Better fix for the previous error. + 2010-02-23 Alexandre Duret-Lutz Work around a spurious style.test error. diff --git a/src/sanity/style.test b/src/sanity/style.test index 4842dcb14..c74a2f6bf 100755 --- a/src/sanity/style.test +++ b/src/sanity/style.test @@ -21,6 +21,13 @@ if (grep --color=auto -n --version)>/dev/null 2>&1; then export GREP_COLOR fi +# Reset the locale, so for instance we don't get bugs because sed is +# expecting utf-8 and we feed him latin-1. The C locale should be OK, +# because we do not treat extended characters specifically in the +# following style rules. +LC_ALL=C +export LC_ALL + tmp=incltest.tmp for dir in "${INCDIR-..}" "${INCDIR-..}"/../iface; do