From d46f13f06fc643c713c62e233dbef5c3d1ef12df Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sat, 6 Jan 2007 01:36:44 +0000 Subject: [PATCH] force C locale for now when parsing gcc log files #160234 svn path=/main/trunk/; revision=5469 --- bin/misc-functions.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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" -- 2.26.2