3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/tools/analysis/lcov/lcov-except-unreach.patch

14 lines
402 B
Diff

http://ltp.cvs.sourceforge.net/viewvc/ltp/utils/analysis/lcov/bin/geninfo?r1=1.117&r2=1.118&view=patch
--- a/bin/geninfo 2012/10/10 08:36:16 1.117
+++ b/bin/geninfo 2012/11/13 09:58:53 1.118
@@ -1833,7 +1833,7 @@
push(@result, 0);
} else {
# Check for zero count
- if ($count eq "#####") {
+ if ($count =~ /^[#=]/) {
$count = 0;
}
push(@result, 1);