From: Mike Frysinger Date: Sat, 6 Jan 2007 01:36:44 +0000 (-0000) Subject: force C locale for now when parsing gcc log files #160234 X-Git-Tag: v2.1.2~152 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=d46f13f06fc643c713c62e233dbef5c3d1ef12df;p=portage.git force C locale for now when parsing gcc log files #160234 svn path=/main/trunk/; revision=5469 --- diff --git a/bin/misc-functions.sh b/bin/misc-functions.sh index f5e0dc430..9879a83dd 100755 --- a/bin/misc-functions.sh +++ b/bin/misc-functions.sh @@ -292,7 +292,8 @@ install_qa_check() { i=0 while [[ -n ${msgs[${i}]} ]] ; do m=${msgs[$((i++))]} - f=$(grep "${m}" "${PORTAGE_LOG_FILE}") + # force C locale to work around slow unicode locales #160234 + f=$(LC_ALL=C grep "${m}" "${PORTAGE_LOG_FILE}") if [[ -n ${f} ]] ; then vecho -ne '\a\n' vecho "QA Notice: Package has poor programming practices which may compile"