summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2010-09-09 22:34:34 -0700
committerZac Medico <zmedico@gentoo.org>2010-09-09 22:34:34 -0700
commitf612dcd13d782c464fc913a63f0a7a833cb556b8 (patch)
tree4de18f875ff50dcce1654e67566fc40fbe5dfdd3
parent26434ee1b77dbff8f1904dd12204a93e87c8b6d3 (diff)
downloadportage-f612dcd13d782c464fc913a63f0a7a833cb556b8.tar.gz
portage-f612dcd13d782c464fc913a63f0a7a833cb556b8.tar.bz2
portage-f612dcd13d782c464fc913a63f0a7a833cb556b8.zip
Make the "warning: call to .* will always overflow destination buffer"
gcc warning fatal. Thanks to Diego Pettenò <flameeyes@g.o> for the suggestion.
-rwxr-xr-xbin/misc-functions.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/bin/misc-functions.sh b/bin/misc-functions.sh
index fd0a21866..41de0fb94 100755
--- a/bin/misc-functions.sh
+++ b/bin/misc-functions.sh
@@ -590,6 +590,9 @@ install_qa_check() {
eqawarn "${f}"
vecho -ne '\n'
abort="yes"
+ case "$m" in
+ ": warning: call to .* will always overflow destination buffer$") gentoo_bug=yes ;;
+ esac
fi
done
local cat_cmd=cat