From 70e97c028cccacde50795b23198c2acfc3c1738a Mon Sep 17 00:00:00 2001 From: adilger Date: Wed, 23 Sep 2009 21:51:11 +0000 Subject: [PATCH] Branch HEAD "sort -u" is only sorting and uniquifying on the first field, so it discards all lines with the same stack depth... Use "uniq" instead. --- autoMakefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoMakefile.am b/autoMakefile.am index e2e94ab..f7765d6 100644 --- a/autoMakefile.am +++ b/autoMakefile.am @@ -28,7 +28,7 @@ checkstack: [ -f ${CSTK} -a ! -s ${CSTKO} ] && mv -f ${CSTK} ${CSTKO} || true { for MOD in $$(find . -name "*.ko"); do \ objdump -d $$MOD | perl build/checkstack.pl; \ - done } | grep -v " bug " | sort -nru > ${CSTK} + done } | grep -v " bug " | sort -nr | uniq > ${CSTK} [ -f ${CSTKO} ] && ! diff -u ${CSTKO} ${CSTK} || head -30 ${CSTK} checkstack-update: -- 1.8.3.1