From: Peter O. <obe...@us...> - 2012-11-13 09:58:55
|
Update of /cvsroot/ltp/utils/analysis/lcov/bin In directory vz-cvs-4.sog:/tmp/cvs-serv25701 Modified Files: geninfo Log Message: geninfo: fix parsing of gcc 4.7 gcov format GCC 4.7 changes the gcov format for lines which can only be reached by exceptions to "=====" instead of "#####". This results in the following warning: geninfo: Argument "=====" isn't numeric in numeric gt (>) at geninfo line 1281. Fix this by handling "=====" correctly. Index: geninfo =================================================================== RCS file: /cvsroot/ltp/utils/analysis/lcov/bin/geninfo,v retrieving revision 1.117 retrieving revision 1.118 diff -C2 -d -r1.117 -r1.118 *** geninfo 10 Oct 2012 08:36:16 -0000 1.117 --- geninfo 13 Nov 2012 09:58:53 -0000 1.118 *************** *** 1834,1838 **** } else { # Check for zero count ! if ($count eq "#####") { $count = 0; } --- 1834,1838 ---- } else { # Check for zero count ! if ($count =~ /^[#=]/) { $count = 0; } |