diff -rup lcov-1.10/bin/geninfo lcov-1.10.new/bin/geninfo --- lcov-1.10/bin/geninfo 2012-10-10 10:15:55.000000000 +0100 +++ lcov-1.10.new/bin/geninfo 2013-03-19 12:09:28.036729208 +0000 @@ -1833,7 +1833,7 @@ sub read_gcov_file($) push(@result, 0); } else { # Check for zero count - if ($count eq "#####") { + if ($count =~ /^[#=]/) { $count = 0; } push(@result, 1);